summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-10 19:37:14 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-10 19:37:14 +0100
commitc977a2e72071cabd4aa9962672fb3e604dcae16a (patch)
tree8a17bb8814e1cd2f7ebbf0b046e8c23d410e36b5 /src
parentf8cfa5e6e3ae74b84bb94ca3f982554709d2f7d0 (diff)
chore: adjust spacing before posts list year on small devices
Diffstat (limited to 'src')
-rw-r--r--src/components/PostsList/PostsList.module.scss2
-rw-r--r--src/components/Sidebar/Sidebar.module.scss9
2 files changed, 9 insertions, 2 deletions
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") {