]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
dashboard: align 'no notifications available' icon in notifications page 67744/head
authorShashiranjan singh <singhshashiranjan34@gmail.com>
Wed, 11 Mar 2026 18:35:07 +0000 (18:35 +0000)
committerShashiranjan singh <singhshashiranjan34@gmail.com>
Thu, 9 Apr 2026 17:04:09 +0000 (17:04 +0000)
The icon displayed when there are no notifications available in the
notifications page was slightly misaligned with the message text.

This change adjusts the layout to properly align the icon with the
message using flexbox and removes unnecessary spacing.

Fixes: https://tracker.ceph.com/issues/74598
Signed-off-by: Shashiranjan Singh <singhshashiranjan34@gmail.com>
Signed-off-by: Shashiranjan singh <singhshashiranjan34@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notification-panel/notifications-page/notifications-page.component.scss

index 2cd8e7112773d6434fb0af02b07f8a610d1fc993..c3f066ba42b28c5c1e8543d71811d09b1359ca72 100644 (file)
 
 // Empty state
 .empty-state {
-  text-align: center;
+  display: flex;
+  align-items: center;
+  justify-content: center;
   color: var(--cds-text-secondary);
   margin-top: var(--cds-spacing-05);
 
   p {
-    margin: var(--cds-spacing-03) 0 0 0;
+    margin: 0;
     font-size: var(--cds-body-01-font-size);
     line-height: var(--cds-body-01-line-height);
   }
 .empty-icon,
 .no-selection-icon {
   fill: var(--cds-icon-secondary);
+}
+
+.no-selection-icon {
   margin-bottom: var(--cds-spacing-05);
 }