From 36ff1fb674313b0551cf1e37981a4a894dbbc816 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Mon, 19 Feb 2018 08:39:27 -0800 Subject: [PATCH] Fix button layout on mobile site --- data/interfaces/default/css/plexpy.css | 41 +++++++++++++ data/interfaces/default/graphs.html | 2 +- data/interfaces/default/index.html | 84 ++++++++++++++------------ 3 files changed, 87 insertions(+), 40 deletions(-) diff --git a/data/interfaces/default/css/plexpy.css b/data/interfaces/default/css/plexpy.css index dcfea97d..df36488f 100644 --- a/data/interfaces/default/css/plexpy.css +++ b/data/interfaces/default/css/plexpy.css @@ -2395,6 +2395,9 @@ a .library-user-instance-box:hover { margin-top: 9px; width: 175px; } +.home-padded-header .button-bar { + float: left; +} .home-platforms { } .home-platforms ul, @@ -3315,6 +3318,44 @@ pre::-webkit-scrollbar-thumb { .dashboard-stats-instance { width: 100%; } + .header-bar { + display: block; + float: none !important; + } + .button-bar { + float: left !important; + clear: both; + margin-top: 15px; + } + .button-bar > div, + .button-bar > button, + .button-bar > span { + float: left !important; + clear: both !important; + margin-bottom: 10px; + } + .button-bar > div > button.btn { + float: left !important; + clear: both !important; + } + .home-padded-header .button-bar { + margin-top: 10px; + margin-bottom: 15px; + } +} +@media only screen + and (min-device-width: 800px) + and (max-device-width: 1024px) { + .button-bar { + float: right !important; + } + .button-bar > div > button.btn { + float: left !important; + clear: both !important; + } + .home-padded-header .button-bar { + float: left !important; + } } #search_form { width: 300px; diff --git a/data/interfaces/default/graphs.html b/data/interfaces/default/graphs.html index ac6a8294..16265588 100644 --- a/data/interfaces/default/graphs.html +++ b/data/interfaces/default/graphs.html @@ -11,7 +11,7 @@
Graphs
- @@ -94,23 +98,25 @@ -
- - - - -
-
- - items +
+
+ + + + +
+
+ + items +