diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-12-08 19:19:37 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-12-09 18:04:09 +0100 |
| commit | 2cc983064467fdef5630eeabc1a87d454afdb58d (patch) | |
| tree | 92df51a32a35bd791c161b2322c0512dc495d994 /src/components/templates/page | |
| parent | d375e5c9f162cbd84a6e6462977db56519d09f75 (diff) | |
refactor(pages): refine 404 page
* refresh topics and thematics list using hooks
* add Cypress tests
Diffstat (limited to 'src/components/templates/page')
| -rw-r--r-- | src/components/templates/page/page.module.scss | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/templates/page/page.module.scss b/src/components/templates/page/page.module.scss index e7d3587..91a1b58 100644 --- a/src/components/templates/page/page.module.scss +++ b/src/components/templates/page/page.module.scss @@ -78,9 +78,8 @@ padding-bottom: var(--spacing-md); } -.body > * + * { - margin-top: var(--spacing-sm); - margin-bottom: var(--spacing-sm); +.body > * { + margin-block: var(--spacing-sm); } .footer { @@ -143,6 +142,10 @@ } } +.body > *:first-child { + margin-block-start: var(--spacing-md); +} + :where(.footer) { .btn { margin-inline-end: var(--spacing-2xs); |
