summaryrefslogtreecommitdiffstats
path: root/src/components/PostsList/PostsList.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-14 12:14:35 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-14 12:20:29 +0100
commit7c7a0a3c243b94b9344e18a37f686c600ec7b962 (patch)
treec7826fb9cf967c82ff16bc038fd4cb66ccbcd7a8 /src/components/PostsList/PostsList.module.scss
parentc1ce65e75f6cf5514e7eee9541ff8a8eacc04822 (diff)
chore: change posts list styles
Diffstat (limited to 'src/components/PostsList/PostsList.module.scss')
-rw-r--r--src/components/PostsList/PostsList.module.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/PostsList/PostsList.module.scss b/src/components/PostsList/PostsList.module.scss
index d427ce7..c0f8062 100644
--- a/src/components/PostsList/PostsList.module.scss
+++ b/src/components/PostsList/PostsList.module.scss
@@ -1,3 +1,4 @@
+@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/mixins" as mix;
@use "@styles/abstracts/placeholders";
@@ -32,9 +33,16 @@
}
li.item {
- margin: var(--spacing-md) 0;
+ margin: 0 0 var(--spacing-md) 0;
+ border-bottom: fun.convert-px(1) solid var(--color-border-light);
&:first-of-type {
margin-top: var(--spacing-sm);
+
+ @include mix.media("screen") {
+ @include mix.dimensions("md") {
+ margin-top: 0;
+ }
+ }
}
}