Skip to content

Commit

Permalink
fix(experimental): Header fix subtitle padding on mobile (#10126)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin authored Jan 9, 2025
1 parent 352f1b7 commit c44ec38
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions projects/experimental/directives/header/header.styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
}

&[data-size='xxs'] {
[tuiTitle] {
gap: 0.125rem;
}

[tuiTitle],
[tuiAccessories] {
font: var(--tui-font-text-xl);
Expand All @@ -93,6 +97,20 @@
}

tui-root._mobile [tuiHeader] {
&[data-size='xxl'],
&[data-size='xl'],
&[data-size='l'] {
[tuiTitle] {
gap: 1rem;
}
}

&[data-size='m'] {
[tuiTitle] {
gap: 0.5rem;
}
}

[tuiAccessories] {
gap: 1rem;
}
Expand Down

0 comments on commit c44ec38

Please sign in to comment.