]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
dashboard: align notifications footer to bottom when body has fewer items 67787/head
authorShashiranjan singh <singhshashiranjan34@gmail.com>
Fri, 13 Mar 2026 20:45:16 +0000 (20:45 +0000)
committerShashiranjan singh <singhshashiranjan34@gmail.com>
Sun, 19 Apr 2026 09:58:47 +0000 (09:58 +0000)
- Fix footer alignment using sticky positioning
- Ensure footer stays at bottom for short notification lists
- Resolve ExpressionChangedAfterItHasBeenCheckedError
- Remove manual change detection causing test instability

Signed-off-by: Shashiranjan singh <singhshashiranjan34@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-area/notification-area.component.scss
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-footer/notification-footer.component.scss
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notification-panel/notification-panel.component.scss

index 29250ed22d5deea5dc447b312f63745f9248d5e2..25813e0b93389df3c25de89de1bb2c56bc9883a6 100644 (file)
@@ -3,13 +3,14 @@
 
 .notification-footer {
   position: sticky;
+  bottom: 0;
+  width: 100%;
   z-index: 2;
   display: flex;
   align-items: center;
   background-color: theme.$layer-01;
   block-size: 2.5rem;
   border-block-start: 1px solid theme.$border-subtle-01;
-  inset-block-end: 0;
   min-block-size: 2.5rem;
   cursor: pointer;
 
index 745c39c530331ff92eb6c71282c71e00fb8d6a88..06de60ff49c4568faa5748bb42ebf7c3a967027b 100644 (file)
@@ -11,7 +11,6 @@ $inline-min-size: 20rem;
   position: fixed;
   z-index: 2;
   overflow-y: auto;
-  overflow-x: hidden;
   background-color: var(--cds-layer-01);
   border-block-end: 1px solid var(--cds-border-subtle-02);
   border-inline-start: 1px solid var(--cds-border-subtle-02);