From: Afreen Misbah Date: Wed, 25 Feb 2026 04:33:26 +0000 (+0530) Subject: mgr/dashboard: Fix breaking layout in overview page X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a794de9b6f45cd485c97dec06b3b7d48d0dd2861;p=ceph.git mgr/dashboard: Fix breaking layout in overview page Issue: One opening the notification panel overview page breaks. Reason: Due to the css grid used in notification panel and flex grid in overview page. Fix: Removed css grid from the notification header Signed-off-by: Afreen Misbah (cherry picked from commit cc1923d57943c1a22863ee2d464feb276806693f) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.html src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.scss --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.html new file mode 100644 index 000000000000..2906f9bba1c1 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.html @@ -0,0 +1,23 @@ +
+
+

Tasks and Notifications

+ +
+ + +
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.scss new file mode 100644 index 000000000000..fef7cb5f3f6d --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-header/notification-header.component.scss @@ -0,0 +1,28 @@ +@use '@carbon/styles/scss/spacing'; + +.notification-header { + position: sticky; + top: 0; + z-index: 2; + padding: spacing.$spacing-03 spacing.$spacing-05; + background-color: var(--cds-layer-01); + border-block-end: 1px solid var(--cds-border-subtle-01); + inset-block-start: 0; + height: var(--header-height); + + &__title { + margin-top: 0.4rem; + } + + &__dismiss-btn { + color: var(--cds-text-primary); + padding-top: 0; + padding-left: spacing.$spacing-06; + } + + &__heading-and-button { + display: flex; + flex-direction: row; + justify-content: space-between; + } +}