From 00cdbd853d202081ffff7e6e1eaf265396fba039 Mon Sep 17 00:00:00 2001 From: Katja Lutz Date: Wed, 14 Sep 2022 20:16:50 +0200 Subject: [PATCH] fix: dont apply margin-bottom to prose br --- src/index.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.css b/src/index.css index e134801..2f2e289 100644 --- a/src/index.css +++ b/src/index.css @@ -61,4 +61,13 @@ .ignore-white-space .white-space { @apply whitespace-nowrap; } + + /* + Tailwind prose adds margin-bottom to * in some situations, + firefox renders margin-bottom on
elements, chrome doesnt, + margin-bottom on br is not ideal in all situations + */ + .prose br { + margin-bottom: 0; + } }