diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-14 00:35:49 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-14 00:35:49 +0100 |
| commit | 9c150f28e4a23dfb4965fc3a4cdee16933a3def5 (patch) | |
| tree | c6d4e8ce62c57f67b5bc8500b3735cdce62c8367 /src/components/Copyright/Copyright.module.scss | |
| parent | b79a46e6c2dc4b6df0a8e4c1a28ecf9178af965e (diff) | |
chore: improve footer
The "Mentions légales" link was not enough visible on small viewports
because of the back to top link. So I change the disposition to improve
that.
Diffstat (limited to 'src/components/Copyright/Copyright.module.scss')
| -rw-r--r-- | src/components/Copyright/Copyright.module.scss | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/components/Copyright/Copyright.module.scss b/src/components/Copyright/Copyright.module.scss index 5ebbca4..35445b2 100644 --- a/src/components/Copyright/Copyright.module.scss +++ b/src/components/Copyright/Copyright.module.scss @@ -1,13 +1,33 @@ @use "@styles/abstracts/functions" as fun; +@use "@styles/abstracts/mixins" as mix; .wrapper { --icon-size: #{fun.convert-px(70)}; display: flex; - flex-flow: row nowrap; + flex-flow: row wrap; align-items: center; + place-content: center; gap: var(--spacing-2xs); margin: 0; font-family: var(--font-family-secondary); - font-size: var(--font-size-sm); + font-size: var(--font-size-md); + text-align: center; + + @include mix.media("screen") { + @include mix.dimensions("sm") { + place-content: start; + text-align: left; + } + } +} + +.name { + flex: 1 0 100%; + + @include mix.media("screen") { + @include mix.dimensions("sm") { + flex: auto; + } + } } |
