diff --git a/templates/element/layouts/header/header-notification-item.php b/templates/element/layouts/header/header-notification-item.php index 59a3df8..4457e68 100644 --- a/templates/element/layouts/header/header-notification-item.php +++ b/templates/element/layouts/header/header-notification-item.php @@ -21,7 +21,7 @@ $variant = empty($notification['variant']) ? 'primary' : $notification['variant' -
+
ValueGetter->get($notification['text']) ?> format('Y-m-d\TH:i:s')) ?> diff --git a/webroot/css/layout.css b/webroot/css/layout.css index 95c1655..1afecec 100644 --- a/webroot/css/layout.css +++ b/webroot/css/layout.css @@ -546,9 +546,10 @@ ul.sidebar-elements > li.category > span.category-divider > hr { } .navbar .right-navbar .notification-menu a.notification-item .notification-text-container { max-width: calc(100% - 40px - 0.25rem); + flex-grow: 1; } .navbar .right-navbar .notification-menu a.notification-item .notification-title { - max-width: calc(100% - 90px); + max-width: 300px; } .navbar .right-navbar .notification-menu a.notification-item .notification-date { max-width: 90px;