Skip to content

Commit

Permalink
fix(text-editor): don't show trailing * when required="false"
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLindh2 committed Jan 9, 2025
1 parent fac0c0e commit e2b7118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/text-editor/text-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ label {
font-size: 0.65rem; // `10.4px` similar to MDC's floating label
letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);

:host(limel-text-editor[required]) & {
:host(limel-text-editor[required]:not([required='false'])) & {
&::after {
content: '*';
}
Expand Down

0 comments on commit e2b7118

Please sign in to comment.