Fix improper selector for float styles (#136)

* Fix improper selector for float styles

* Github CI lint - eslint/stylelint

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
This commit is contained in:
alistair3149 2020-06-11 19:13:58 -04:00 committed by GitHub
parent 340be0502e
commit a30c85bb8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,23 +16,23 @@
* are used in other places as well * are used in other places as well
*/ */
> .mw-parser-output { > .mw-parser-output {
div.tnone, > div.tnone,
div.floatnone, > div.floatnone,
table.floatnone, > table.floatnone,
div.tleft, > div.tleft,
div.floatleft, > div.floatleft,
table.floatleft, > table.floatleft,
div.tright, > div.tright,
div.floatright, > div.floatright,
table.floatright { > table.floatright {
z-index: 2; z-index: 2;
position: relative; position: relative;
margin: 0.6rem 1.4rem; margin: 0.6rem 1.4rem;
transition: @transition-margin; transition: @transition-margin;
} }
div.tnone, > div.tnone,
div.floatnone { > div.floatnone {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -48,21 +48,21 @@
} }
} }
div.tnone, > div.tnone,
div.floatnone, > div.floatnone,
table.floatnone, > table.floatnone,
div.tleft, > div.tleft,
div.floatleft, > div.floatleft,
table.floatleft { > table.floatleft {
margin-left: @negative-margin / 2; margin-left: @negative-margin / 2;
} }
div.tnone, > div.tnone,
div.floatnone, > div.floatnone,
table.floatnone, > table.floatnone,
div.tright, > div.tright,
div.floatright, > div.floatright,
table.floatright { > table.floatright {
margin-right: @negative-margin / 2; margin-right: @negative-margin / 2;
} }
} }