mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
MobileArticleTarget: Tweak styling for editor switcher
The .oo-ui-popupToolGroup-handle styles only need to apply to the editTools toolbar, where they override OOUI styles so that our "stretched" toolbar works; they don't need to apply to the pageTools toolbar, which contains just the editor switcher, and where they make it look different from the MF wikitext editor toolbar for no reason. Change-Id: I21315b34be0a7c3938f84ada720ff5754d953879
This commit is contained in:
parent
8b3ec008e9
commit
e14e24f037
|
@ -122,6 +122,13 @@
|
|||
border-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ve-init-mw-mobileArticleTarget-editTools {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
> .oo-ui-toolGroup {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
> .oo-ui-popupToolGroup > .oo-ui-popupToolGroup-handle {
|
||||
/* stylelint-disable-next-line declaration-no-important */
|
||||
|
@ -140,13 +147,6 @@
|
|||
margin-left: 0.285714em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ve-init-mw-mobileArticleTarget-editTools {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
> .oo-ui-toolGroup {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
> .oo-ui-barToolGroup {
|
||||
text-align: center;
|
||||
|
|
Loading…
Reference in a new issue