From 438ebc839f150b1cd523492ad27a853ad356bb2a Mon Sep 17 00:00:00 2001 From: flaburgan Date: Sat, 5 Apr 2014 16:23:13 +0200 Subject: [PATCH] Fix scroll in the drawer nav --- app/assets/stylesheets/mobile/header.css.scss | 9 ++++++--- app/assets/stylesheets/mobile/mobile.css.scss | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/mobile/header.css.scss b/app/assets/stylesheets/mobile/header.css.scss index 50c1d2cc7..20e537941 100644 --- a/app/assets/stylesheets/mobile/header.css.scss +++ b/app/assets/stylesheets/mobile/header.css.scss @@ -59,7 +59,7 @@ header { position: fixed; top: 0; bottom: 0; - width: 80%; + width: 100%; left: 100%; background-color: #444; @@ -80,7 +80,7 @@ header { form { position: absolute; left: 5px; - right: 15px; + right: 22%; input { @include box-shadow(0, 1px, 1px, #444); @@ -116,7 +116,6 @@ header { bottom: 0px; overflow: auto; width: 100%; - height: 100%; li { font-size: 25px; @@ -134,6 +133,10 @@ header { padding: 0px; border-bottom: 0px; + &:hover { + background-color: transparent; + } + > ul > li > a { font-size: 14px; padding: 8px 42px; diff --git a/app/assets/stylesheets/mobile/mobile.css.scss b/app/assets/stylesheets/mobile/mobile.css.scss index fa22a9893..6484e16e6 100644 --- a/app/assets/stylesheets/mobile/mobile.css.scss +++ b/app/assets/stylesheets/mobile/mobile.css.scss @@ -30,7 +30,7 @@ h3 { clear: both; } -#app { +#app > * { transition: all 0.25s ease; }