Skip to content

Commit

Permalink
fix(ui5-notification-list): change host to display:block (#9139)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeodorTaushanov committed Jun 7, 2024
1 parent 28f6a2d commit efb4791
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/fiori/src/NotificationList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ import NotificationListInternal from "./NotificationListInternal.js";
// Template
import NotificationListTemplate from "./generated/templates/NotificationListTemplate.lit.js";

// Styles
import NotificationListCss from "./generated/themes/NotificationList.css.js";

// Texts
import {
NOTIFICATION_LIST_ACCESSIBLE_NAME,
Expand Down Expand Up @@ -48,7 +51,7 @@ type NotificationItemCloseEventDetail = NotificationItemEventDetail;
tag: "ui5-notification-list",
renderer: litRender,
languageAware: true,
styles: [],
styles: [NotificationListCss],
template: NotificationListTemplate,
dependencies: [
NotificationListInternal,
Expand Down
3 changes: 3 additions & 0 deletions packages/fiori/src/themes/NotificationList.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:host(:not([hidden])) {
display: block;
}

0 comments on commit efb4791

Please sign in to comment.