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
*/
> .mw-parser-output {
div.tnone,
div.floatnone,
table.floatnone,
div.tleft,
div.floatleft,
table.floatleft,
div.tright,
div.floatright,
table.floatright {
> div.tnone,
> div.floatnone,
> table.floatnone,
> div.tleft,
> div.floatleft,
> table.floatleft,
> div.tright,
> div.floatright,
> table.floatright {
z-index: 2;
position: relative;
margin: 0.6rem 1.4rem;
transition: @transition-margin;
}
div.tnone,
div.floatnone {
> div.tnone,
> div.floatnone {
display: flex;
justify-content: center;
@ -48,21 +48,21 @@
}
}
div.tnone,
div.floatnone,
table.floatnone,
div.tleft,
div.floatleft,
table.floatleft {
> div.tnone,
> div.floatnone,
> table.floatnone,
> div.tleft,
> div.floatleft,
> table.floatleft {
margin-left: @negative-margin / 2;
}
div.tnone,
div.floatnone,
table.floatnone,
div.tright,
div.floatright,
table.floatright {
> div.tnone,
> div.floatnone,
> table.floatnone,
> div.tright,
> div.floatright,
> table.floatright {
margin-right: @negative-margin / 2;
}
}