editable-text: Use minimal scrollbars everywhere

This commit is contained in:
Abe Jellinek 2024-01-22 11:37:41 -05:00 committed by Dan Stillman
parent 1159f9b54c
commit d375b1c78b

View file

@ -37,6 +37,7 @@ editable-text {
// https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/
display: grid;
scrollbar-color: var(--color-scrollbar) var(--color-scrollbar-background);
span {
visibility: hidden;
@ -111,7 +112,7 @@ editable-text {
text-overflow: ellipsis;
}
}
&[hidden]{
&[hidden] {
display: none;
}
// Per https://stackoverflow.com/a/22700700, somehow this removes an extra half-line