From 8f4c974d423309b49fd405fa6ee53f55d0f4b5a5 Mon Sep 17 00:00:00 2001 From: Kevin Dungs Date: Thu, 14 Aug 2014 23:12:07 +0200 Subject: [PATCH] Make mobile work better on smaller screens. --- css/mobile.css | 20 ++++++++++++-------- mobile.html | 27 ++++++++++++++------------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index efea4a9..9c1c1cf 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -3,14 +3,6 @@ padding: 0; } -.tab-title { - display: none; -} - -.active .tab-title { - display: block; -} - .scrollable { margin: 0; padding: 0; @@ -20,6 +12,18 @@ overflow: hidden; } +#TabList { + background: white; + position: fixed; + left:0; + right: 50%; + z-index: 100; +} + +#TabContent { + padding-top: 4em; +} + #Status { font-size: inherit; padding: 10px; diff --git a/mobile.html b/mobile.html index c55c04b..c5f93ce 100644 --- a/mobile.html +++ b/mobile.html @@ -36,16 +36,15 @@
-