Offer floatc to clear floats

This commit is contained in:
Philipp Kewisch 2023-08-25 16:59:34 +02:00
parent 65cb9b10e7
commit d0f1138305
2 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,7 @@
margin-right: 5px; margin-right: 5px;
} }
[data-wrap="columns"] > p, [data-wrap="floatl"] > p, [data-wrap="floatr"] > p { [data-wrap="columns"] > p, [data-wrap="floatl"] > p, [data-wrap="floatr"] > p, [data-wrap="floatc"] > p {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
@ -20,3 +20,7 @@
float: right; float: right;
margin-left: 10px; margin-left: 10px;
} }
[data-wrap="floatc"] {
clear: both;
}

View File

@ -14,4 +14,5 @@
[data-wrap="floatr"] { [data-wrap="floatr"] {
} }
[data-wrap="floatc"] {
}