fix: hide textarea scrollbar when content doesn't overflow
Set overflow-y: auto on textarea so the vertical scrollbar only appears when content exceeds max-height. Fixes #43.
This commit is contained in:
@@ -46,6 +46,7 @@ textarea::-webkit-scrollbar-thumb:hover {
|
|||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user