Skip to content

Commit

Permalink
fix(Notifications): add hcm media query for missing outlines (#7601)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakahn authored Jan 22, 2021
1 parent 5c1ba53 commit 6e6e6a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
@include carbon--breakpoint(max) {
max-width: rem(832px);
}

// Firefox HCM fix
@media screen and (prefers-contrast) {
outline-width: 1px;
outline-style: solid;
}
}

.#{$prefix}--inline-notification:not(.#{$prefix}--inline-notification--low-contrast)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
@include carbon--breakpoint(max) {
width: rem(352px);
}

// Firefox HCM fix
@media screen and (prefers-contrast) {
outline-width: 1px;
outline-style: solid;
}
}

.#{$prefix}--toast-notification:not(.#{$prefix}--toast-notification--low-contrast)
Expand Down

0 comments on commit 6e6e6a5

Please sign in to comment.