Skip to content

Commit

Permalink
fix(tile): update clickable tile icon size and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Nov 14, 2024
1 parent ad23c63 commit 2e18b98
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/styles/scss/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
@use '../../type' as *;
@use '../../utilities/ai-gradient' as *;
@use '../../utilities/button-reset';
@use '../../utilities/convert';
@use '../../utilities/component-reset';
@use '../../utilities/focus-outline' as *;
@use '../../utilities/high-contrast-mode' as *;
Expand Down Expand Up @@ -131,8 +132,10 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
.#{$prefix}--tile--clickable.#{$prefix}--link--disabled
.#{$prefix}--tile--disabled-icon {
position: absolute;
inset-block-end: layout.density('padding-inline');
inset-inline-end: layout.density('padding-inline');
block-size: convert.to-rem(20px);
inline-size: convert.to-rem(20px);
inset-block-end: convert.to-rem(12px);
inset-inline-end: convert.to-rem(12px);
}

.#{$prefix}--tile--clickable .#{$prefix}--tile--icon {
Expand Down

0 comments on commit 2e18b98

Please sign in to comment.