From c977a2e72071cabd4aa9962672fb3e604dcae16a Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 10 Feb 2022 19:37:14 +0100 Subject: chore: adjust spacing before posts list year on small devices --- src/components/PostsList/PostsList.module.scss | 2 +- src/components/Sidebar/Sidebar.module.scss | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/PostsList/PostsList.module.scss b/src/components/PostsList/PostsList.module.scss index ff36e74..b4ffbd9 100644 --- a/src/components/PostsList/PostsList.module.scss +++ b/src/components/PostsList/PostsList.module.scss @@ -12,7 +12,7 @@ .year { grid-column: 2; - margin-bottom: 0; + margin: var(--spacing-md) 0 0; @include mix.media("screen") { @include mix.dimensions("md") { diff --git a/src/components/Sidebar/Sidebar.module.scss b/src/components/Sidebar/Sidebar.module.scss index f79cacf..6df997f 100644 --- a/src/components/Sidebar/Sidebar.module.scss +++ b/src/components/Sidebar/Sidebar.module.scss @@ -2,7 +2,14 @@ .wrapper { grid-column: 2; - margin: var(--spacing-md) 0; + + &--left { + margin: var(--spacing-md) 0; + } + + &--right { + margin: var(--spacing-md) 0 0; + } @include mix.media("screen") { @include mix.dimensions("md") { -- cgit v1.2.3