mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Increase selector specificity for .ve-ce-focusableNode-invisibleIcon
Otherwise our width/height rules are overridden by OOUI styles. Change-Id: I2bbf81231615e6fcfd95573f5f590b5101e66bdf
This commit is contained in:
parent
dd94837192
commit
180eb91f3f
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/* This is just for the icon label text */
|
||||
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconElement {
|
||||
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconWidget.oo-ui-iconElement {
|
||||
font-size: 0.8125em;
|
||||
width: auto;
|
||||
}
|
||||
|
@ -14,12 +14,12 @@
|
|||
width: auto;
|
||||
}
|
||||
|
||||
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconElement .oo-ui-labelElement-label {
|
||||
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconWidget.oo-ui-iconElement .oo-ui-labelElement-label {
|
||||
margin-left: 0;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
/* This keeps the icon small (regardless of label height) */
|
||||
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconElement .oo-ui-iconElement-icon {
|
||||
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconWidget.oo-ui-iconElement .oo-ui-iconElement-icon {
|
||||
height: auto;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-ce-mwTransclusionNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconElement {
|
||||
.ve-ce-mwTransclusionNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconWidget.oo-ui-iconElement {
|
||||
font-size: 0.914286em;
|
||||
width: auto;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue