Skip to content

Commit

Permalink
fix(16150): fixes Structured List icons's column as per spec (carbon-…
Browse files Browse the repository at this point in the history
…design-system#16393)

* fix(16150): fixes structuredlist icons's column as per spec

* fix(16150): deprecated tokens replaced

* refactor(16150): adds psudo pseduoselectors
  • Loading branch information
2nikhiltom authored May 16, 2024
1 parent 4ad3398 commit 9dff06c
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,12 @@
.#{$prefix}--structured-list-svg {
fill: transparent;
}
.#{$prefix}--structured-list--selection
.#{$prefix}--structured-list-td:last-child {
inline-size: $spacing-07;
padding-inline-start: 0;
}
}

@if (
enabled('enable-v12-structured-list-visible-icons') or
$enable-v12-structured-list-visible-icons
Expand Down Expand Up @@ -268,4 +272,12 @@
margin-block-start: $spacing-01;
vertical-align: top;
}

.#{$prefix}--structured-list--selection
.#{$prefix}--structured-list-td:first-child:has(
.#{$prefix}--structured-list__icon
) {
inline-size: $spacing-07;
padding-inline-end: 0;
}
}

0 comments on commit 9dff06c

Please sign in to comment.