Skip to content

Commit

Permalink
fix: show #textarea border on IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Apr 17, 2019
1 parent 48fdf76 commit bf94c6a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/dnb-ui-lib/src/style/elements/textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
0 0 0 calc(var(--textarea-padding-width) + 1px)
var(--color-sea-green-alt);

/* IE11 fix */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
-ms-overflow-style: -ms-autohiding-scrollba;
box-shadow: 0 0 0 0.0625rem var(--color-sea-green-alt);
}

&.status--error,
.dnb-textarea__status--error {
box-shadow: var(--textarea-border-inner),
Expand Down

0 comments on commit bf94c6a

Please sign in to comment.