diff options
Diffstat (limited to 'src/components/templates/page')
| -rw-r--r-- | src/components/templates/page/page.module.scss | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/components/templates/page/page.module.scss b/src/components/templates/page/page.module.scss index 91a1b58..fd1fac9 100644 --- a/src/components/templates/page/page.module.scss +++ b/src/components/templates/page/page.module.scss @@ -204,6 +204,13 @@ &__body { grid-column: 2; } + + /* Without nesting, Nextjs does not override margin: the CSS is bundle in the + * wrong order. */ + .heading { + width: fit-content; + margin: var(--spacing-md) auto; + } } .spinner { @@ -211,11 +218,6 @@ } :where(.comments) { - .heading { - width: fit-content; - margin: var(--spacing-md) auto; - } - .form { max-width: 40ch; margin-inline: auto; |
