Skip to content

Commit 5e92c42

Browse files
authored
fix(form): dropdown item description gets wrong state class
When a dropdown item has got a description, every added state class like error also styles such extra items by accident
1 parent 6f8b533 commit 5e92c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/definitions/collections/form.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@
623623
.ui.form .fields.@{state} .field .ui.dropdown,
624624
.ui.form .fields.@{state} .field .ui.dropdown .item,
625625
.ui.form .field.@{state} .ui.dropdown,
626-
.ui.form .field.@{state} .ui.dropdown .text,
626+
.ui.form .field.@{state} .ui.dropdown > .text,
627627
.ui.form .field.@{state} .ui.dropdown .item {
628628
background: @bg;
629629
color: @c;

0 commit comments

Comments
 (0)