fix(post mobile): clearfix for floating media

This commit is contained in:
plebeius.eth
2024-04-07 18:30:36 +02:00
parent e009137184
commit 84dae0a19b
+9 -2
View File
@@ -26,7 +26,7 @@
transform: translateY(-1px); transform: translateY(-1px);
} }
/* clearfix to the container of the floatied elements to contain them */ /* clearfix to contain float elements */
.postDesktop::after { .postDesktop::after {
content: ""; content: "";
display: table; display: table;
@@ -188,6 +188,13 @@
text-decoration: var(--post-content-link-text-decoration-hover); text-decoration: var(--post-content-link-text-decoration-hover);
} }
/* clearfix to contain float elements */
.postMobile .postOp::after {
content: "";
display: table;
clear: both;
}
.postMobile hr { .postMobile hr {
padding-bottom: 30px; padding-bottom: 30px;
} }
@@ -332,7 +339,7 @@
border-bottom: var(--post-mobile-border-bottom); border-bottom: var(--post-mobile-border-bottom);
} }
/* clearfix to the container of the floatied elements to contain them */ /* clearfix to contain float elements */
.replyMobile .replyContainer::after { .replyMobile .replyContainer::after {
content: ""; content: "";
display: table; display: table;