From 802548124071039f83ebfa2605e839ded82b5689 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 20 May 2022 22:22:35 +0200 Subject: chore: update some styles * Improve wp-blocks-columns, wp-block-quote and some images * Make Sharing widget consistent between pages * Remove margin option from lists * Fix Topic logo alignement --- src/components/organisms/layout/posts-list.module.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/components/organisms/layout/posts-list.module.scss') diff --git a/src/components/organisms/layout/posts-list.module.scss b/src/components/organisms/layout/posts-list.module.scss index a006914..b09bb12 100644 --- a/src/components/organisms/layout/posts-list.module.scss +++ b/src/components/organisms/layout/posts-list.module.scss @@ -3,6 +3,10 @@ @use "@styles/abstracts/placeholders"; .section { + &:not(:last-of-type) { + margin-bottom: var(--spacing-md); + } + @include mix.media("screen") { @include mix.dimensions("md") { display: grid; @@ -17,8 +21,11 @@ @extend %reset-ordered-list; .item { - margin-bottom: var(--spacing-md); border-bottom: fun.convert-px(1) solid var(--color-border); + + &:not(:last-child) { + margin-bottom: var(--spacing-md); + } } } -- cgit v1.2.3