Skip to content

Commit

Permalink
style(Slug): increase touch target to 24px for mini, 2xs variants (ca…
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored and danoro96 committed Jan 18, 2024
1 parent 9f3df13 commit df2b17b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/styles/scss/components/slug/_slug.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ $sizes: (
transition: opacity $duration-fast-01 motion(entrance, productive);
}

.#{$prefix}--slug__button.#{$prefix}--slug__button--mini::after,
.#{$prefix}--slug__button.#{$prefix}--slug__button--2xs::after {
position: absolute;
block-size: convert.to-rem(24px);
content: '';
inline-size: convert.to-rem(24px);
opacity: 0;
}

.#{$prefix}--slug__button:hover::before {
opacity: 1;
}
Expand Down

0 comments on commit df2b17b

Please sign in to comment.