Polish placeholder styles

This commit is contained in:
Jason Zimdars
2025-06-11 12:03:07 -05:00
parent 1138c75d0c
commit 692161c00d
2 changed files with 5 additions and 4 deletions
@@ -12,12 +12,13 @@ lexical-editor {
}
&.lexical-editor--empty {
.lexical-editor__content:not(:focus):before {
.lexical-editor__content:not(:focus)::before {
content: attr(placeholder);
color: currentColor;
opacity: 0.5;
cursor: text;
opacity: 0.66;
pointer-events: none;
display: block;
white-space: pre-line;
}
}
}
+1 -1
View File
@@ -170,7 +170,7 @@
.card-field__title {
&:is(textarea)::placeholder {
color: inherit;
opacity: 0.5;
opacity: 0.66;
}
}