Skip to content

Commit

Permalink
Merge pull request #913 from helsingborg-stad/fix/corrected-line-heig…
Browse files Browse the repository at this point in the history
…ht-for-all-icons

fix: corrected line height for all icons
  • Loading branch information
NiclasNorin authored May 13, 2024
2 parents 1da1919 + ad70ab9 commit 657c157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/sass/component/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ $colors: (

.c-icon {
font-display: block;

line-height: 1;

&.c-icon--svg-link {
width: 1em;
object-fit: contain;
Expand Down
1 change: 0 additions & 1 deletion source/sass/icon/_material-symbols.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
font-family: 'Material Symbols Outlined';
font-style: normal;
font-size: calc($base * 3);
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
Expand Down

0 comments on commit 657c157

Please sign in to comment.