Skip to content

Commit

Permalink
Merge pull request #137 from scania/improvement/form_validation_corner
Browse files Browse the repository at this point in the history
Adjust form validation border
  • Loading branch information
mmexvr authored Apr 21, 2020
2 parents 1f4dc3c + a3e3afa commit 2b1b484
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/styles/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,13 @@ select.form-control[multiple] {
@mixin form-validation-state($state, $data) {
.#{$state}-feedback {
border: 1px solid $light-01;
border-left: 4px solid map-get($theme-colors, map-get($data, 'border-color'));
border-left: 5px solid map-get($theme-colors, map-get($data, 'border-color'));
color: $dark;
line-height: normal;
background-color: #fff;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
padding: .8rem;
border-radius: 5px;
}

.form-control {
Expand Down

0 comments on commit 2b1b484

Please sign in to comment.