Skip to content

Commit

Permalink
Merge branch 'master' into remove-snippet-focus
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Jan 29, 2020
2 parents a626391 + 2ce57b3 commit b19f406
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/components/button/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
outline: none;
position: relative;
max-width: rem(320px);
// Fix to remove added margins on buttons in safari (see #5155)
margin: 0;

&:disabled,
&.#{$prefix}--btn--disabled {
Expand Down
5 changes: 5 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,11 @@
box-sizing: border-box;
}

// Fix to remove added margins on buttons in safari (see #5155)
button {
margin: 0;
}

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

0 comments on commit b19f406

Please sign in to comment.