mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-27 15:50:34 +00:00
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:
parent
b9cfd0ebc8
commit
a480cc27af
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue