Skip to content

Commit fa764f3

Browse files
committed
fix(text-editor): don't show trailing * when required="false"
1 parent fac0c0e commit fa764f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/text-editor/text-editor.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ label {
199199
font-size: 0.65rem; // `10.4px` similar to MDC's floating label
200200
letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);
201201

202-
:host(limel-text-editor[required]) & {
202+
:host(limel-text-editor[required]:not([required='false'])) & {
203203
&::after {
204204
content: '*';
205205
}

0 commit comments

Comments
 (0)