diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-18 02:49:56 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:19 -0500 |
commit | 1c35b74b997c3f74475a709529221459e7d4f847 (patch) | |
tree | 946ec15ad78351dcb357b2442f330e458ea574f0 /app/javascript | |
parent | 8fde6152198d21fffe9b1ce5f870a5eccd2cdbf0 (diff) |
[Bug, UI] Invert padding to fix spacing between paragraphs without adding extra spacing before footer
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss | 13 |
1 files 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 |