mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 17:21:25 +00:00
004d92d341
Before the `height: 2.5em` was applied to _both_ the visible <textarea> and the $clone. While this shouldn't make a difference – one of the first things .adjustSize() does is setting the $clones height to 0 – it somehow triggered that Firefox bug. With this patch we remove the `height: 2.5em` before handing over to OOUI's .adjustSize(). It looks like this fixes the issue. We might be able to revert I7560ceb then. Bug: T317369 Change-Id: I96c2d7d7bf359ff0373d478b2b7e97c8833ba5b6
37 lines
879 B
CSS
37 lines
879 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWParameterPage styles.
|
|
*
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwParameterPage-info {
|
|
/* To collapse the top margin of the first <p> in the .ve-ui-mwParameterPage-doc below */
|
|
margin-bottom: -0.4em;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-label {
|
|
font-size: 1.1em;
|
|
line-height: 1.705em;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-doc {
|
|
line-height: 1.3em;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-expandableContent-collapsible > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-doc-required,
|
|
.ve-ui-mwParameterPage-doc-deprecated,
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
|
|
font-style: italic;
|
|
color: #54595d;
|
|
}
|
|
|
|
.ve-ui-mwLazyMultilineTextInputWidget-collapsed {
|
|
height: 2.5em;
|
|
}
|