]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add xl and 2xl sizes for sidebar
authorNizamudeen A <nia@redhat.com>
Thu, 11 Dec 2025 06:15:22 +0000 (11:45 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 11 Dec 2025 06:27:01 +0000 (11:57 +0530)
Fixes: https://tracker.ceph.com/issues/74184
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/components/side-panel/side-panel.component.scss
src/pybind/mgr/dashboard/frontend/src/app/shared/components/side-panel/side-panel.component.ts

index 62cd221977acd9925da3e4c8e1571de383c6a669..a616b172ef43546fcefddf25f18f432bcba0bc78 100644 (file)
     inline-size: 40rem;
   }
 
+  &[panel-size='xl'] .cds--header-panel--expanded {
+    inline-size: 60rem;
+  }
+
+  &[panel-size='2xl'] .cds--header-panel--expanded {
+    inline-size: 80rem;
+  }
+
   .cds--header-panel--expanded {
     background-color: vv.$white;
     max-inline-size: 100%;
index 7b5a4efe09669abf6c7e6b8aea4df1efefc2198a..b6f0317912bfe56ebda4cd0897b94290e6d20e4f 100644 (file)
@@ -9,7 +9,7 @@ export class SidePanelComponent {
   @Input() expanded = false;
   @Input() headerText = '';
   @Input() overlay = true;
-  @Input() size: 'sm' | 'md' | 'lg' = 'lg';
+  @Input() size: 'sm' | 'md' | 'lg' | 'xl' | '2xl' = 'lg';
 
   @Output() closed = new EventEmitter<void>();