Fix placeholder text and formatting

This fixes Textarea's placeholder text to be consistent with Input, as well as allows us to use new lines in the placeholder
This commit is contained in:
Justin Edmund 2023-07-02 02:23:23 -07:00
parent 3a684abf57
commit b8b3f2fffb

View file

@ -35,8 +35,9 @@
&[contenteditable='true']:empty:before { &[contenteditable='true']:empty:before {
content: attr(placeholder); content: attr(placeholder);
color: var(--text-secondary); color: var(--text-tertiary);
pointer-events: none; pointer-events: none;
white-space: pre;
display: block; /* For Firefox */ display: block; /* For Firefox */
} }
} }