diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-20 12:27:46 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-20 19:32:09 +0100 |
| commit | 70b4f633a6fbedb58c8b9134ac64ede854d489de (patch) | |
| tree | c757bb12ad9a588e23b25cdb8b46710ac14dbcb1 /src/components/molecules/collapsible/collapsible.module.scss | |
| parent | 9a481f066e1427d53a06cf7aeec525a745abf03f (diff) | |
refactor(components): replace PageLayout template with Page
* split pages in smaller components (it is both easier to maintain and
more readable, we avoid the use of fragments in pages directory)
* extract breadcrumbs from article tag (the navigation is not related
to the page contents)
* remove useReadingTime hook
* remove layout options except `isHome`
Diffstat (limited to 'src/components/molecules/collapsible/collapsible.module.scss')
| -rw-r--r-- | src/components/molecules/collapsible/collapsible.module.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/molecules/collapsible/collapsible.module.scss b/src/components/molecules/collapsible/collapsible.module.scss index 3c5a97c..2ee9aea 100644 --- a/src/components/molecules/collapsible/collapsible.module.scss +++ b/src/components/molecules/collapsible/collapsible.module.scss @@ -88,12 +88,12 @@ max-height 1.2s ease-in-out; &--has-padding { - margin: var(--spacing-2xs) 0; + margin-top: var(--spacing-2xs); padding-block: var(--spacing-2xs); } &--no-padding { - margin: var(--spacing-xs) 0; + margin-top: var(--spacing-xs); } } } |
