From 06086ee9ae2e0bfd02e5ed88ce086ae94ceadd70 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 5 Aug 2014 10:23:23 -0500 Subject: [PATCH] fix(header): buttons do not align in Android 4.4 Closes #1614 --- scss/_bar.scss | 4 ++ test/css/headers.html | 102 ++++++++++-------------------------------- 2 files changed, 27 insertions(+), 79 deletions(-) diff --git a/scss/_bar.scss b/scss/_bar.scss index 9fc2370205f..7177c7f8711 100644 --- a/scss/_bar.scss +++ b/scss/_bar.scss @@ -237,6 +237,10 @@ .buttons.right-buttons { display: inherit; } + .buttons span { + display: inline-flex; + } + // Place the last button in a bar on the right of the bar .title + .button:last-child, > .button + .button:last-child, diff --git a/test/css/headers.html b/test/css/headers.html index 5395b8c6c40..e6f69004101 100644 --- a/test/css/headers.html +++ b/test/css/headers.html @@ -35,10 +35,10 @@

Really really really really really really really really long t -
+
Home @@ -47,22 +47,10 @@

Really really really really really really really really long t

-
- Back -
- First - Second - Third -
- - Favorites - -
- -
+
Back @@ -71,7 +59,7 @@

Really really really really really really really really long t

-
+
Edit @@ -83,30 +71,6 @@

Really really really really really really really really long t

-
- -
- First - Second - Third -
- - - -
- -
- -
- First - Second - Third -
- - - -
-
@@ -132,42 +96,6 @@

Really really really really really really really really long t

- -
- First - Second - Third -
- - - -
- -
- -
- First - Second - Third -
- - - -
- -
- -
- First - Second - Third -
- - - -
- -
First @@ -179,7 +107,7 @@

Really really really really really really really really long t

-
+
First @@ -191,11 +119,27 @@

Really really really really really really really really long t

-
+

Title here

+ +