fix(label): style color

This commit is contained in:
Manu Mtz.-Almeida
2018-07-23 23:57:44 +02:00
parent 8324bd1f7f
commit 5c0e9e6f10

View File

@ -5,16 +5,12 @@
// -------------------------------------------------- // --------------------------------------------------
:host { :host {
--ion-color-base: currentColor;
@include margin(0); @include margin(0);
display: block; display: block;
flex: 1; flex: 1;
color: #{current-color(base)};
font-size: inherit; font-size: inherit;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -25,6 +21,10 @@
box-sizing: border-box; box-sizing: border-box;
} }
:host(.ion-color) {
color: #{current-color(base)};
}
:host([text-wrap]) { :host([text-wrap]) {
white-space: normal; white-space: normal;
} }