summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-07-02 22:46:08 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-07-02 22:46:08 +0200
commit18cd80426b29d206caca4a0fff7855cfdaec58fa (patch)
tree96f3335e6c352df4486dc37c4252f4db78d392bb
parente1e4fde697f3c816a7221a71da4b45758e6043fc (diff)
downloadnextcloud-server-18cd80426b29d206caca4a0fff7855cfdaec58fa.tar.gz
nextcloud-server-18cd80426b29d206caca4a0fff7855cfdaec58fa.zip
fix animation of sidebar and prevent horizontal scrollbar, fix #9284
-rw-r--r--core/css/mobile.css7
-rw-r--r--core/css/styles.css1
2 files changed, 2 insertions, 6 deletions
diff --git a/core/css/mobile.css b/core/css/mobile.css
index bdca29d888a..0a74178937d 100644
--- a/core/css/mobile.css
+++ b/core/css/mobile.css
@@ -58,14 +58,9 @@
/* APP SIDEBAR TOGGLE and SWIPE ----------------------------------------------*/
-/* prevent scrollbar when sidebar is open */
-.snapjs-left #content-wrapper {
- overflow-x: hidden;
-}
-
#app-navigation,
#app-content {
- position: absolute;
+ position: absolute !important;
top: 0;
left: 0;
right: 0;
diff --git a/core/css/styles.css b/core/css/styles.css
index bfa15eb7e50..ab4c727c744 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -297,6 +297,7 @@ input[type="submit"].enabled {
position: absolute;
height: 100%;
width: 100%;
+ overflow-x: hidden; /* prevent horizontal scrollbar */
padding-top: 45px;
-moz-box-sizing:border-box;
box-sizing:border-box;