fix(button): set display type on host

This commit is contained in:
Cam Wiegert
2018-07-16 13:19:16 -05:00
parent 4ed8541579
commit 89d1526708

View File

@ -4,6 +4,7 @@
// --------------------------------------------------
:host {
display: inline-block;
vertical-align: top; // the better option for most scenarios
vertical-align: -webkit-baseline-middle; // the best for those that support it
text-decoration: none;
@ -58,6 +59,10 @@
// Block Button
// --------------------------------------------------
:host(.button-block) {
display: block;
}
:host(.button-block) .button-native {
@include margin-horizontal(0);
@ -77,6 +82,10 @@
// Full Button
// --------------------------------------------------
:host(.button-full) {
display: block;
}
:host(.button-full) .button-native {
@include margin-horizontal(0);