mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(label): style color
This commit is contained in:
@ -5,16 +5,12 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: currentColor;
|
||||
|
||||
@include margin(0);
|
||||
|
||||
display: block;
|
||||
|
||||
flex: 1;
|
||||
|
||||
color: #{current-color(base)};
|
||||
|
||||
font-size: inherit;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
@ -25,6 +21,10 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:host(.ion-color) {
|
||||
color: #{current-color(base)};
|
||||
}
|
||||
|
||||
:host([text-wrap]) {
|
||||
white-space: normal;
|
||||
}
|
||||
|
Reference in New Issue
Block a user