From 659e0e0a9e2ac9b91de783dd16ae99eb25216e92 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Tue, 10 Sep 2013 14:34:43 -0500 Subject: [PATCH] Reorganized bar SCSS and removed flexbox from secondary Secondary bars don't need flexbox, so they are removed. --- scss/ionic/_bar.scss | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/scss/ionic/_bar.scss b/scss/ionic/_bar.scss index b708f6eecb..31026e8489 100644 --- a/scss/ionic/_bar.scss +++ b/scss/ionic/_bar.scss @@ -1,13 +1,12 @@ .bar { - @include user-select(none); - - display: -webkit-box; - display: box; - position: fixed; left: 0; right: 0; z-index: 10; + + display: -webkit-box; + display: box; + width: 100%; height: $bar-height; padding: $bar-padding-portrait; @@ -17,6 +16,8 @@ border-style: solid; border-width: 0; + @include user-select(none); + &.bar-header { border-bottom-width: 1px; } @@ -222,9 +223,11 @@ .bar-header-secondary { top: $bar-height; + display: block; } .bar-footer-secondary { bottom: $bar-height; + display: block; } /* Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.