Skip to content

Commit

Permalink
fix(input): Adjust specificity for required input box shadows (#3075)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesha Mazumdar authored and brandonferrua committed Feb 13, 2018
1 parent 4e44fdc commit ba3ac5b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ui/components/input/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,14 @@
}
}

.slds-input:required {
box-shadow: none;
}

.slds-input:required:focus {
box-shadow: $shadow-button-focus;
}

.slds-has-error {
@include form-input-error('.slds-input');

Expand All @@ -290,11 +298,3 @@
color: $color-text-error;
}
}

.slds-input:required {
box-shadow: none;
}

.slds-input:required:focus {
box-shadow: $shadow-button-focus;
}

0 comments on commit ba3ac5b

Please sign in to comment.