]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix details card and sidebar component styles fix-sidebar-detail-css
authorNizamudeen A <nia@redhat.com>
Thu, 11 Dec 2025 06:18:32 +0000 (11:48 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 15 Dec 2025 06:52:52 +0000 (12:22 +0530)
commit297e2f7c4abcebf681da8ab6e8d14ee5e4ddd1b1
treec935d33f7cbcc37f0bd7900ec70037387072cdb2
parent11b73bdeca9933646d05d451bab37922cddbe754
mgr/dashboard: fix details card and sidebar component styles

- add the correct header sizes for both components
- remove unnecessary div nesting
- detail card was using cdsRow directive but that messes with the
  alignment since micro components shouldn't use the 2xgrid structure.
Instead it needs to rely on stacks or css grids. So adding 3 grid
structure that matches with the design and eliminating any css
customizations.

Fixes: https://tracker.ceph.com/issues/74184
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.scss
src/pybind/mgr/dashboard/frontend/src/app/shared/components/side-panel/side-panel.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/side-panel/side-panel.component.scss