Skip to content

Commit f49c645

Browse files
authored
Merge pull request ceph#65140 from rhcs-dashboard/shared-component-style-fixes
mgr/dashboard: style fixes for shared components Reviewed-by: Afreen Misbah <[email protected]>
2 parents cc818d9 + 9773be1 commit f49c645

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/pybind/mgr/dashboard/frontend/src/app/shared/components/details-card/details-card.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<cds-tile>
2+
@if (cardTitle) {
23
<div class="details-card-header">
34
<span class="cds--type-heading-03"
45
i18n>{{ cardTitle }}</span>
56
</div>
7+
}
68

79
<div class="details-card-body">
810
<div cdsRow>

src/pybind/mgr/dashboard/frontend/src/styles/_carbon-defaults.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ Carbon Popover
176176

177177
.cds--popover-content {
178178
background-color: theme.$background;
179+
padding: layout.$spacing-05;
179180
}
180181

181182
// inner container class for overflow

0 commit comments

Comments
 (0)