Skip to content

Commit e1a8393

Browse files
authored
fix(input): attached buttons and labels in grouped state fields
action or labeled input fields don't have state border style for the buttons or labels when inside grouped fields
1 parent b10cf9d commit e1a8393

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/definitions/elements/input.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -437,26 +437,26 @@
437437
@state: replace(@key, '@', '');
438438
@borderColor: @formStates[@@state][borderColor];
439439

440-
.ui.form > .field.@{state} > .ui.action.input > .ui.button,
441-
.ui.form > .field.@{state} > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label,
440+
.ui.form .field.@{state} > .ui.action.input > .ui.button,
441+
.ui.form .field.@{state} > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label,
442442
.ui.action.input.@{state} > .ui.button,
443443
.ui.labeled.input.@{state}:not([class*="corner labeled"]) > .ui.label {
444444
border-top: @borderWidth solid @borderColor;
445445
border-bottom: @borderWidth solid @borderColor;
446446
}
447-
.ui.form > .field.@{state} > .ui[class*="left action"].input > .ui.button,
448-
.ui.form > .field.@{state} > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label,
447+
.ui.form .field.@{state} > .ui[class*="left action"].input > .ui.button,
448+
.ui.form .field.@{state} > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label,
449449
.ui[class*="left action"].input.@{state} > .ui.button,
450450
.ui.labeled.input.@{state}:not(.right):not([class*="corner labeled"]) > .ui.label {
451451
border-left: @borderWidth solid @borderColor;
452452
}
453-
.ui.form > .field.@{state} > .ui.action.input:not([class*="left action"]) > input + .ui.button,
454-
.ui.form > .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label,
453+
.ui.form .field.@{state} > .ui.action.input:not([class*="left action"]) > input + .ui.button,
454+
.ui.form .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label,
455455
.ui.action.input.@{state}:not([class*="left action"]) > input + .ui.button,
456456
.ui.right.labeled.input.@{state}:not([class*="corner labeled"]) > input + .ui.label {
457457
border-right: @borderWidth solid @borderColor;
458458
}
459-
.ui.form > .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child,
459+
.ui.form .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child,
460460
.ui.right.labeled.input.@{state}:not([class*="corner labeled"]) > .ui.label:first-child {
461461
border-left: @borderWidth solid @borderColor;
462462
}

0 commit comments

Comments
 (0)