diff --git a/packages/components/src/globals/scss/_css--reset.scss b/packages/components/src/globals/scss/_css--reset.scss index d2e91732e7d3..a74f2ed4e2c6 100644 --- a/packages/components/src/globals/scss/_css--reset.scss +++ b/packages/components/src/globals/scss/_css--reset.scss @@ -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; }