Skip to content

Commit c734849

Browse files
authored
feat(list-item-group): update list item group styles (#9072)
**Related Issue:** #8039 ## Summary - update list item group styles - updates internal table cell classes to remove padding being set by default browser styles.
1 parent 8672ca8 commit c734849

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/calcite-components/src/components/list-item-group/list-item-group.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
@include disabled();
1111

1212
.container {
13-
@apply bg-foreground-2 text-n1 text-color-2 m-0 flex flex-1 p-3 font-sans font-bold;
13+
@apply text-n1 text-color-2 m-0 flex flex-1 p-3 font-sans font-medium;
1414
}
1515

1616
.heading {
17+
@apply p-0;
1718
padding-inline-start: calc(
1819
var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier)
1920
);

packages/calcite-components/src/components/list-item/list-item.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ td:focus {
137137
}
138138

139139
.selection-container {
140-
@apply flex px-3;
140+
@apply flex px-3 py-0;
141141
color: theme("borderColor.color.input");
142142
}
143143

@@ -187,6 +187,7 @@ td:focus {
187187

188188
.actions-start,
189189
.actions-end {
190+
@apply p-0;
190191
::slotted(calcite-action),
191192
::slotted(calcite-action-menu),
192193
::slotted(calcite-handle),

0 commit comments

Comments
 (0)