diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-11 13:18:18 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-11 13:18:18 +0200 |
commit | c8d5390512521f5e1c20fd01e6576d023a563501 (patch) | |
tree | b4f19cbd58274407eeb040c9e9a8012ea0a9c826 /view | |
parent | f3cf708c85580efd1d0a9d8cb911fd0a8ea9e24a (diff) | |
download | volse-hubzilla-c8d5390512521f5e1c20fd01e6576d023a563501.tar.gz volse-hubzilla-c8d5390512521f5e1c20fd01e6576d023a563501.tar.bz2 volse-hubzilla-c8d5390512521f5e1c20fd01e6576d023a563501.zip |
move affinity slider lower on screens < 767px to not collide with the page menu button
Diffstat (limited to 'view')
-rw-r--r-- | view/css/widgets.css | 8 | ||||
-rwxr-xr-x | view/tpl/main_slider.tpl | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/view/css/widgets.css b/view/css/widgets.css index 6cd61ae6f..cea3a3820 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -57,7 +57,13 @@ li:hover .widget-nav-pills-icons { /* affinity slider */ #main-slider { - margin: 10px 7px 45px 7px; + margin: 10px 7px 4rem 7px; +} + +@media screen and (max-width: 767px) { + #main-slider { + margin: 4rem 7px 4rem 7px; + } } /* posted date */ diff --git a/view/tpl/main_slider.tpl b/view/tpl/main_slider.tpl index 4cc265f59..f5c573970 100755 --- a/view/tpl/main_slider.tpl +++ b/view/tpl/main_slider.tpl @@ -1,5 +1,9 @@ -<div id="main-slider" class="slider" ><input id="main-range" type="text" name="cminmax" value="{{$val}}" /></div> -<div id="profile-jot-text-loading" class="spinner-wrapper"><div class="spinner m"></div></div> +<div id="main-slider" class="slider" > + <input id="main-range" type="text" name="cminmax" value="{{$val}}" /> + <div id="profile-jot-text-loading" class="spinner-wrapper"> + <div class="spinner m"></div> + </div> +</div> <script> $(document).ready(function() { var old_cmin = 0; |