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:
Bartosz Dziewoński 2020-11-10 12:20:17 +01:00
parent f036aedd6a
commit d5a1b7bc2b

View file

@ -5,6 +5,7 @@
> .oo-ui-textInputWidget { > .oo-ui-textInputWidget {
max-width: none; max-width: none;
overflow-y: hidden;
.oo-ui-inputWidget-input { .oo-ui-inputWidget-input {
line-height: 1.5em; line-height: 1.5em;