From 1f92cdc1c90c7c118bc1c70404f791440a08369a Mon Sep 17 00:00:00 2001 From: patak Date: Sat, 7 Jan 2023 22:51:22 +0100 Subject: [PATCH] fix: make composer line height closer to final post --- styles/global.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/styles/global.css b/styles/global.css index d91036d6..caaf0321 100644 --- a/styles/global.css +++ b/styles/global.css @@ -159,6 +159,17 @@ em-emoji-picker { .custom-emoji { margin: 0 0.2em; } + + p { + --at-apply: my-0; + line-height: calc(4 / 3 * 1em); + } + p:first-child { + --at-apply: mt-1; + } + p:last-child { + --at-apply: mb-1; + } } .skeleton-loading-bg {