Merge pull request #11 from kewisch/floatclear

Offer floatc to clear floats
This commit is contained in:
Steven (Mon-Discourse) 2023-08-25 19:19:49 +02:00 committed by GitHub
commit 1cc5d51137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"] {
}