summaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/comments-list.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-22 17:27:01 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-22 17:34:04 +0200
commitcb6a54e54f2f013e06049b20388ca78e26201e16 (patch)
treeeac5f3a2200d9f5b776c999825a8e28098b46193 /src/components/organisms/layout/comments-list.module.scss
parentfd9831446ff87414da772b17327368cb291192e6 (diff)
chore: add a CommentsList component
Diffstat (limited to 'src/components/organisms/layout/comments-list.module.scss')
-rw-r--r--src/components/organisms/layout/comments-list.module.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/organisms/layout/comments-list.module.scss b/src/components/organisms/layout/comments-list.module.scss
new file mode 100644
index 0000000..803a418
--- /dev/null
+++ b/src/components/organisms/layout/comments-list.module.scss
@@ -0,0 +1,16 @@
+@use "@styles/abstracts/placeholders";
+
+.list {
+ @extend %reset-ordered-list;
+
+ & & {
+ margin: var(--spacing-sm) 0;
+ padding-left: var(--spacing-sm);
+ }
+}
+
+.item {
+ &:not(:last-child) {
+ margin-bottom: var(--spacing-sm);
+ }
+}