Skip to content

Commit

Permalink
fix(modal): add transparent outline for high contrast themes (#5037)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod authored and joshblack committed Jan 23, 2020
1 parent 084adb0 commit e375209
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
width: 100%;
height: 100%;
max-height: 100%;
// make modal edge visible on high contrast themes (#3880)
outline: 3px solid transparent;
outline-offset: -3px;
overflow: hidden;
transform-origin: top center;
transform: translate3d(0, -24px, 0);
Expand Down

0 comments on commit e375209

Please sign in to comment.