From 8528e3f0668dfbfdcdf19f00ab36469df43dc261 Mon Sep 17 00:00:00 2001 From: cTn Date: Thu, 4 Sep 2014 08:57:58 +0200 Subject: [PATCH] pixel perfect block alignment for initial setup tab --- tabs/initial_setup.css | 6 +-- tabs/initial_setup.html | 90 ++++++++++++++++++++--------------------- 2 files changed, 46 insertions(+), 50 deletions(-) diff --git a/tabs/initial_setup.css b/tabs/initial_setup.css index 767e98d9..17aab25b 100644 --- a/tabs/initial_setup.css +++ b/tabs/initial_setup.css @@ -192,8 +192,8 @@ .tab-initial_setup .acc-trim, .tab-initial_setup .magnetometer, .tab-initial_setup .info { - float: left; - display: block; + display: inline-block; + vertical-align: top; margin: 0 0 10px 10px; @@ -244,7 +244,7 @@ line-height: 22px; } .tab-initial_setup .battery input { - width: 60px; + width: 58px; height: 20px; line-height: 20px; diff --git a/tabs/initial_setup.html b/tabs/initial_setup.html index fe226ee2..8665b459 100644 --- a/tabs/initial_setup.html +++ b/tabs/initial_setup.html @@ -41,58 +41,54 @@ -
-
- -
-
-
-
-
-
-
-
+
+ +
+
+
+
+
+
+
-
- -
-
-
-
-
-
-
+
+
+ +
+
+
+
+
+
-
- -
-
-
-
-
-
+
+
+ +
+
+
+
+
-
-
- -
-
-
-
-
+
+
+ +
+
+
+
-
- -
-
-
0 V
-
0 mAh
-
0 A
-
0 %
-
-
+
+
+ +
+
+
0 V
+
0 mAh
+
0 A
+
0 %
+
-