Skip to content

Commit

Permalink
feat(list-item-group): update list item group styles (#9072)
Browse files Browse the repository at this point in the history
**Related Issue:** #8039

## Summary

- update list item group styles
- updates internal table cell classes to remove padding being set by
default browser styles.
  • Loading branch information
driskull committed Apr 23, 2024
1 parent 8672ca8 commit c734849
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
@include disabled();

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

.heading {
@apply p-0;
padding-inline-start: calc(
var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ td:focus {
}

.selection-container {
@apply flex px-3;
@apply flex px-3 py-0;
color: theme("borderColor.color.input");
}

Expand Down Expand Up @@ -187,6 +187,7 @@ td:focus {

.actions-start,
.actions-end {
@apply p-0;
::slotted(calcite-action),
::slotted(calcite-action-menu),
::slotted(calcite-handle),
Expand Down

0 comments on commit c734849

Please sign in to comment.