From a27730c3d391268b480f5262bec27de6da447990 Mon Sep 17 00:00:00 2001 From: Alejandro Gomez Date: Thu, 26 Jan 2023 07:13:25 +0100 Subject: [PATCH] fix: card spacing --- src/Element/Note.css | 12 +----------- src/Pages/Layout.css | 6 ++++++ src/index.css | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/Element/Note.css b/src/Element/Note.css index fe2d9293..ee705518 100644 --- a/src/Element/Note.css +++ b/src/Element/Note.css @@ -27,6 +27,7 @@ .note>.body { margin-top: 4px; + margin-bottom: 24px; padding-left: 56px; text-overflow: ellipsis; white-space: pre-wrap; @@ -65,17 +66,6 @@ margin-left: 56px; } -@media (min-width: 720px) { - .note>.footer { - margin-top: 24px; - } - - .note>.note-creator { - margin-top: 24px; - } -} - - .thread.note { border-bottom-left-radius: 0; border-bottom-right-radius: 0; diff --git a/src/Pages/Layout.css b/src/Pages/Layout.css index 26a193ce..a445f316 100644 --- a/src/Pages/Layout.css +++ b/src/Pages/Layout.css @@ -14,6 +14,12 @@ header { padding: 0 12px; } +@media (min-width: 720px) { + header { + padding: 0; + } +} + header .pfp .avatar-wrapper { margin-right: 0; } diff --git a/src/index.css b/src/index.css index 33e6348a..42a26fdc 100644 --- a/src/index.css +++ b/src/index.css @@ -88,7 +88,7 @@ code { @media (min-width: 720px) { .card { - margin-bottom: 24px; + margin-bottom: 16px; padding: 12px 24px; } }