mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
Sprinke some child selectors around in MWTransclusionDialog.css
Indiscriminately styling all .oo-ui-widget elements with a descendant selector is very evil, use a child selector instead. The use of a descendant selector broke inline dropdowns. Change-Id: I25c5007ef1ffab9e59c46c3b11270b8f77610327
This commit is contained in:
parent
0dad360036
commit
d0f273d6db
|
@ -5,15 +5,15 @@
|
||||||
* @license The MIT License (MIT); see LICENSE.txt
|
* @license The MIT License (MIT); see LICENSE.txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-widget {
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset > .oo-ui-widget {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-buttonElement-framed {
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset > .oo-ui-buttonElement-framed {
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-mwTransclusionDialog-addTemplateFieldset .ve-ui-mwTitleInputWidget {
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset > .ve-ui-mwTitleInputWidget {
|
||||||
width: 20em;
|
width: 20em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue