From: Naman Munet Date: Wed, 20 Aug 2025 06:11:20 +0000 (+0530) Subject: mgr/dashboard: style fixes for shared components X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F65140%2Fhead;p=ceph.git mgr/dashboard: style fixes for shared components fixes: https://tracker.ceph.com/issues/72651 Signed-off-by: Naman Munet --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html index f51fbae03107..9a402f60c593 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html @@ -1,8 +1,10 @@ +@if (cardTitle) {
{{ cardTitle }}
+}
diff --git a/src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss b/src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss index 289e2f0fa20f..2ddf98af8ea4 100644 --- a/src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss +++ b/src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss @@ -176,6 +176,7 @@ Carbon Popover .cds--popover-content { background-color: theme.$background; + padding: layout.$spacing-05; } // inner container class for overflow