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:
parent
3a684abf57
commit
b8b3f2fffb
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue