Skip to content

Commit

Permalink
fix(legacy): set correct font size for small and medium sizes (#8548)
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz authored Aug 15, 2024
1 parent 91f8b62 commit 8acfb39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/legacy/styles/mixins/textfield.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@

&[data-size='s'] {
--tui-height: var(--tui-height-s);

font: var(--tui-font-text-s);
}

&[data-size='m'] {
--tui-height: var(--tui-height-m);

font: var(--tui-font-text-s);
}

&[data-size='l'] {
Expand Down
2 changes: 2 additions & 0 deletions projects/legacy/styles/mixins/textfield.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ $line-height-l: 1.25rem;

&[data-size='s'] {
--tui-height: var(--tui-height-s);
font: var(--tui-font-text-s);
}

&[data-size='m'] {
--tui-height: var(--tui-height-m);
font: var(--tui-font-text-s);
}

&[data-size='l'] {
Expand Down

0 comments on commit 8acfb39

Please sign in to comment.