From 1c35b74b997c3f74475a709529221459e7d4f847 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 18 Aug 2020 02:49:56 -0500 Subject: [Bug, UI] Invert padding to fix spacing between paragraphs without adding extra spacing before footer --- .../glitch/styles/monsterfork/components/formatting.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss index f1f08690b..a9e8fbe65 100644 --- a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss +++ b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss @@ -170,12 +170,21 @@ font-style: italic; font-size: 12px; text-align: right; - margin-bottom: 4px; + margin-top: 0px; } } .status__content { - p:nth-last-child(2), pre:nth-last-child(2), blockquote:nth-last-child(2) { + p, pre, blockquote { + margin-top: 1em; margin-bottom: 0px; } + + p:first-child, pre:first-child, blockquote:first-child { + margin-top: 0px; + } + + .status__content__spoiler.status__content__spoiler--visible { + margin-top: 1em; + } } \ No newline at end of file -- cgit