diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-25 15:49:31 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-25 15:49:31 +0200 |
| commit | 36d129414b696bd2a633d379cac1dff867f64413 (patch) | |
| tree | 30097582a73e91025c653969a109c8c2e8a9f471 /src/components/organisms/forms/settings-form.module.scss | |
| parent | 6e6e068c42a8da7e92ee1bc0a14d2c47012b0a65 (diff) | |
fix(settings): reduce font-size on small devices
With French translation, words are a little longer so I reduce the
font size on small devices to avoid line breaking.
Diffstat (limited to 'src/components/organisms/forms/settings-form.module.scss')
| -rw-r--r-- | src/components/organisms/forms/settings-form.module.scss | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/organisms/forms/settings-form.module.scss b/src/components/organisms/forms/settings-form.module.scss index a6a2077..a05c60c 100644 --- a/src/components/organisms/forms/settings-form.module.scss +++ b/src/components/organisms/forms/settings-form.module.scss @@ -2,10 +2,25 @@ .label { margin-right: auto; +} +.setting, +.label--select { @include mix.media("screen") { + @include mix.dimensions(null, "2xs") { + font-size: var(--font-size-sm); + } + @include mix.dimensions(null, "2xs", "height") { font-size: var(--font-size-sm); } } } + +.items { + @include mix.media("screen") { + @include mix.dimensions(null, "2xs", "height") { + margin: var(--spacing-2xs) 0; + } + } +} |
