Skip to content

Commit

Permalink
fix(label): style color
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Jul 23, 2018
1 parent 8324bd1 commit 5c0e9e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/components/label/label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -25,6 +21,10 @@
box-sizing: border-box;
}

:host(.ion-color) {
color: #{current-color(base)};
}

:host([text-wrap]) {
white-space: normal;
}
Expand Down

0 comments on commit 5c0e9e6

Please sign in to comment.