From f508cf40da93eba05a17b4ffa834a125dbdb2bcb Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 23 Jul 2015 18:29:45 +0200 Subject: sidebar shall not overlap but shrink the contnet --- apps/files/css/detailsView.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'apps/files/css') diff --git a/apps/files/css/detailsView.css b/apps/files/css/detailsView.css index 51aaf393751..ec0d5ac2110 100644 --- a/apps/files/css/detailsView.css +++ b/apps/files/css/detailsView.css @@ -1,14 +1,18 @@ .app-files .detailsView.disappear { - margin-right: -359px; + visibility: hidden; +} + +.with-sidebar { + width: 80%; } .app-files .detailsView { - position: fixed; - width: 350px; + position: absolute; + width: 20%; top: 44px; /* main header's height */ - right: 9px; + right: 0; left: auto; bottom: 0; background-color: white; @@ -18,6 +22,7 @@ transition: margin-right 300ms; overflow-x: hidden; overflow-y: auto; + visibility: visible; } .app-files .detailsView { -- cgit v1.2.3