Skip to content

Commit ba3ac5b

Browse files
Ayesha Mazumdarbrandonferrua
authored andcommitted
fix(input): Adjust specificity for required input box shadows (#3075)
1 parent 4e44fdc commit ba3ac5b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ui/components/input/base/_index.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,14 @@
282282
}
283283
}
284284

285+
.slds-input:required {
286+
box-shadow: none;
287+
}
288+
289+
.slds-input:required:focus {
290+
box-shadow: $shadow-button-focus;
291+
}
292+
285293
.slds-has-error {
286294
@include form-input-error('.slds-input');
287295

@@ -290,11 +298,3 @@
290298
color: $color-text-error;
291299
}
292300
}
293-
294-
.slds-input:required {
295-
box-shadow: none;
296-
}
297-
298-
.slds-input:required:focus {
299-
box-shadow: $shadow-button-focus;
300-
}

0 commit comments

Comments
 (0)