fix(button): inconsistent overflow value between browsers (#9933)

By default most browsers will set the button overflow to `visible`, however it's `hidden` on IE. This is particularly visible on buttons with badges. These changes add a default value so the buttons are consistent between browsers.
This commit is contained in:
Kristiyan Kostadinov
2018-02-18 02:11:38 +01:00
committed by Jeremy Elbourn
parent 9d784a04d3
commit 9d19291feb
+4
View File
@@ -53,6 +53,10 @@ $mat-mini-fab-padding: 8px !default;
padding: $mat-button-padding;
border-radius: $mat-button-border-radius;
// Explicitly set the default overflow to `visible`. It is already set
// on most browsers except on IE11 where it defaults to `hidden`.
overflow: visible;
&[disabled] {
cursor: default;
}