From 77eaf9ede78811015341e336b8ffffa5c3edda9d Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Tue, 2 Apr 2024 12:59:33 +0200 Subject: [PATCH] apply clearfix only on mobile replies --- src/components/post/post.module.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/post/post.module.css b/src/components/post/post.module.css index 022a05b7..ea7ac08b 100644 --- a/src/components/post/post.module.css +++ b/src/components/post/post.module.css @@ -311,6 +311,13 @@ background-color: var(--post-mobile-background-color); } +/* clearfix to the container of the floatied elements to contain them */ +.replyMobile .replyContainer::after { + content: ""; + display: table; + clear: both; +} + .replyMobile .postInfo { padding: 5px; border-bottom: var(--post-mobile-info-border-bottom);