From d405b8541b33c7f055b312efd1e6dc1e7389a4bf Mon Sep 17 00:00:00 2001 From: ClemDee Date: Fri, 26 Jul 2019 14:35:02 +0200 Subject: [PATCH] Fix horizontal scrollbar in drive --- www/drive/app-drive.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/drive/app-drive.less b/www/drive/app-drive.less index c85cd3c88..70b03ae92 100644 --- a/www/drive/app-drive.less +++ b/www/drive/app-drive.less @@ -107,7 +107,7 @@ .cp-app-drive-container { flex: 1; - overflow: auto; + overflow-x: auto; width: 100%; display: flex; flex-flow: row; @@ -121,6 +121,7 @@ #cp-app-drive-tree { resize: none; width: 100% !important; + min-width: unset; max-width: unset; max-height: unset; border-bottom: 1px solid @drive_mobile-tree-border-col; @@ -239,7 +240,6 @@ max-height: 100%; .cp-app-drive-tree-categories-container { flex: 1; - max-width: 500px; overflow: auto; } img.cp-app-drive-icon { @@ -438,13 +438,13 @@ flex: 1; // Needed to avoid the folder's path to overflows // https://stackoverflow.com/questions/38223879/white-space-nowrap-breaks-flexbox-layout - min-width: 0; + // min-width: 0; } #cp-app-drive-content { box-sizing: border-box; background: @drive_content-bg; color: @drive_content-fg; - overflow: auto; + overflow-y: auto; flex: 1; display: flex; flex-flow: column;