Skip to content

Commit

Permalink
fix: border issue for experimental feature flag (#16580)
Browse files Browse the repository at this point in the history
  • Loading branch information
riddhybansal authored May 29, 2024
1 parent 6e857da commit d348aef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/styles/scss/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
inline-size: $-icon-container-size;
inset-block-end: 0;
inset-inline-end: 0;
@if (
enabled('enable-experimental-tile-contrast') or
$enable-experimental-tile-contrast
) {
border: 1px solid $border-disabled;
}

&:focus {
outline: 2px solid $focus;
Expand Down Expand Up @@ -271,6 +277,7 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
}

.#{$prefix}--tile--expandable.#{$prefix}--tile--expandable--interactive {
border: none;
cursor: default;
transition: max-height $duration-moderate-01 motion(standard, productive);

Expand Down

0 comments on commit d348aef

Please sign in to comment.