Skip to content

Commit

Permalink
Fix button icon focus style
Browse files Browse the repository at this point in the history
  • Loading branch information
ingebretsen committed Oct 24, 2023
1 parent 21584c1 commit de74546
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
/// @include button-icon() => creates a button that can wrap an icon

@mixin button-icon($overrides: ()) {
@include css-map-dpr(button-icon($overrides));
@include css-map(button-icon($overrides));
}

@function button-icon($overrides: ()) {
Expand All @@ -404,6 +404,7 @@
transition: transition(transform, fast),
'hover:transform': translateY(-1px),
'active:transform': translateY(1px),
focus: control-focus-style(),
'disabled': (
opacity: 0.5,
),
Expand Down

0 comments on commit de74546

Please sign in to comment.