mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-18 02:51:26 +00:00
ReplyWidget: Ensure scrollbar doesn't appear in source mode
Even though the field is supposed to resize itself to match the text inside, vertical scrollbar would sometimes appear when the user has zoomed in. Some calculation probably handles fractions of pixels incorrectly (might be a bug in OOUI or a browser bug). Since this field has no limit on max rows, we can just hide the scrollbar. This can't be fixed in OOUI itself, since its autosize text fields usually have a limit to how tall they are allowed to grow before a scrollbar is used. Bug: T267609 Change-Id: Id36ed417c4678e469a6c05715404e330064c2017
This commit is contained in:
parent
f036aedd6a
commit
d5a1b7bc2b
|
@ -5,6 +5,7 @@
|
|||
|
||||
> .oo-ui-textInputWidget {
|
||||
max-width: none;
|
||||
overflow-y: hidden;
|
||||
|
||||
.oo-ui-inputWidget-input {
|
||||
line-height: 1.5em;
|
||||
|
|
Loading…
Reference in a new issue