Skip to content

Commit

Permalink
fix(button): add button fix to reset file as well
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Jan 28, 2020
1 parent bd5dfc0 commit d1c0061
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/components/src/globals/scss/_css--reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,15 @@
box-sizing: border-box;
}

// Safari only fix to remove added margins on buttons (see #5155)
@media not all and (min-resolution: 0.001dpcm) {
@supports (-webkit-appearance: none) {
button {
margin: 0;
}
}
}

@include carbon--type-reset;
@include carbon--icons;
}
Expand Down

0 comments on commit d1c0061

Please sign in to comment.