Skip to content

Commit

Permalink
Icon Button
Browse files Browse the repository at this point in the history
- hotfix
  • Loading branch information
elad2412 authored and TorstenDittmann committed Jan 22, 2024
1 parent f51232e commit 1f34da1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scss/6-elements/_icon-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
border-radius: pxToRem(8);

> [class*='icon'] {
position: relative;
&::before {
position: absolute;
top: 50%;
Expand All @@ -21,7 +20,7 @@
}
&.is-more-content {
inline-size:fit-content; padding:pxToRem(4); line-height:pxToRem(18);
> [class*='icon'] { inline-size:pxToRem(16); }
> [class*='icon'] { position:relative; inline-size:pxToRem(16); }
}


Expand Down

0 comments on commit 1f34da1

Please sign in to comment.