diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-09-27 17:38:23 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-10-24 12:25:00 +0200 |
| commit | 7255d25f6834a208c0ed44636356cc260f6ab6ba (patch) | |
| tree | 88016a958190f766a3ac0ab4b77f4732e17502e8 /src/components/templates/page/page-layout.module.scss | |
| parent | ba793e043e4d8515b1a9ea490ee2c5f92b1fd6c2 (diff) | |
refactor(components): rewrite Heading component
* remove `alignment` and `withMargin` props (consumer should handle
that)
* move styles to Sass placeholders to avoid repeats with headings
coming from WordPress
* refactor some other components that depend on Heading to avoid ESlint
errors
Diffstat (limited to 'src/components/templates/page/page-layout.module.scss')
| -rw-r--r-- | src/components/templates/page/page-layout.module.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/templates/page/page-layout.module.scss b/src/components/templates/page/page-layout.module.scss index d29df2c..09bb957 100644 --- a/src/components/templates/page/page-layout.module.scss +++ b/src/components/templates/page/page-layout.module.scss @@ -81,6 +81,12 @@ } } + &__title { + width: fit-content; + margin-bottom: var(--spacing-md); + margin-inline: auto; + } + &__no-comments { text-align: center; } @@ -90,3 +96,7 @@ margin: auto; } } + +.notice { + margin-top: var(--spacing-sm); +} |
