From b2bae9313d3467f945ef02a3091d8cbf52c1382a Mon Sep 17 00:00:00 2001 From: Vincent Petry <pvince81@owncloud.com> Date: Fri, 6 Jun 2014 10:04:19 +0200 Subject: [PATCH] Fixed viewer mode for sidebar swipe --- apps/files/css/files.css | 1 - core/css/mobile.css | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 46f1966e08..11e618fe82 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -105,7 +105,6 @@ /* this is mostly for file viewer apps, text editor, etc */ #body-user .app-files.no-sidebar #controls { left: 0px; - padding-left: 80px; /* main nav bar */ } /* move Deleted Files to bottom of sidebar */ diff --git a/core/css/mobile.css b/core/css/mobile.css index 4f149796a7..9803352821 100644 --- a/core/css/mobile.css +++ b/core/css/mobile.css @@ -109,13 +109,20 @@ opacity: 1; } - /* fix controls bar for apps which don't use the standard */ #body-user .app-files #controls, #user-controls { left: 0 !important; padding-left: 44px !important; } +/* .viewer-mode is when text editor, PDF viewer, etc is open */ +#body-user .app-files.viewer-mode #controls { + padding-left: 0 !important; +} +.app-files.viewer-mode #app-navigation-toggle { + display: none !important; +} + table.multiselect thead { left: 0 !important; } -- GitLab