feat(skinning): apply floatleft and floatright to all elements

There are more block elements that might use floatleft and floatright.
We should not restrict it to only <div> and <table>
This commit is contained in:
alistair3149 2024-10-30 22:20:12 -04:00
parent b9cfd0ebc8
commit a480cc27af
No known key found for this signature in database

View file

@ -8,10 +8,8 @@
*/
/* @noflip */
div.floatleft,
table.floatleft,
div.floatright,
table.floatright {
.floatleft,
.floatright {
margin: 0;
}
@ -54,8 +52,7 @@ div.thumbinner {
@media ( min-width: @min-width-breakpoint-tablet ) {
/* @noflip */
div.tright,
div.floatright,
table.floatright {
.floatright {
float: right;
margin-left: var( --space-lg );
clear: right;
@ -63,8 +60,7 @@ div.thumbinner {
/* @noflip */
div.tleft,
div.floatleft,
table.floatleft {
.floatleft {
float: left;
margin-right: var( --space-lg );
clear: left;