From f2ad705cdd831c5e6f309e2090e8d785c25ac385 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 14 Oct 2015 16:13:57 -0400 Subject: [PATCH] refactor(segment): fixed height of MD segment so the border lines up with the toolbar references #283 --- ionic/components/segment/modes/md.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ionic/components/segment/modes/md.scss b/ionic/components/segment/modes/md.scss index bcda5c5ad7..9eaf9895aa 100644 --- a/ionic/components/segment/modes/md.scss +++ b/ionic/components/segment/modes/md.scss @@ -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;