refactor(segment): fixed height of MD segment so the border lines up with the toolbar

references #283
This commit is contained in:
Brandy Carney
2015-10-14 16:13:57 -04:00
parent 94c93d7468
commit f2ad705cdd

View File

@@ -5,6 +5,9 @@
$segment-button-md-text-color-activated: color(primary) !default;
$segment-button-md-border-color-activated: color(primary) !default;
$segment-button-md-min-height: 5.0rem;
$segment-button-md-line-height: 5.0rem;
.ion-segment {
@@ -13,8 +16,8 @@ $segment-button-md-border-color-activated: color(primary) !default;
border-width: 0;
transition: 100ms all linear;
min-height: 3.3rem;
line-height: 3.3rem;
min-height: $segment-button-md-min-height;
line-height: $segment-button-md-line-height;
&.activated {
color: $segment-button-md-text-color-activated;