fix to textarea extra line at the bottom on win

This commit is contained in:
abaevbog 2024-01-09 05:58:34 -05:00 committed by Dan Stillman
parent 741ed9b98c
commit 1f3c65a504

View file

@ -111,9 +111,11 @@ editable-text {
&[hidden]{ &[hidden]{
display: none; display: none;
} }
// somehow it fixes extra tall textareas on windows that was rendered to have at least // Per https://stackoverflow.com/a/22700700, somehow this removes an extra half-line
// 3 rows even when there's no text // at the bottom of textarea on windows
@media (-moz-platform: windows) {
textarea { textarea {
overflow: hidden; overflow-x: hidden;
}
} }
} }