From de9d7714273fe892afd7aa08ac07d26c663a35d0 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 15 May 2020 13:52:41 +0200 Subject: [PATCH 1/2] Remove resize handle in the chat box --- customize.dist/src/less2/include/toolbar.less | 1 - 1 file changed, 1 deletion(-) diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index 67f13d94a..03f4d4367 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -124,7 +124,6 @@ box-sizing: border-box; position: relative; order: 99; - resize: horizontal; z-index: 1; #cp-app-contacts-container { height: 100%; From fb10d65a4f9c5a128f5528a80b295e2cb902ecf0 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 15 May 2020 13:56:33 +0200 Subject: [PATCH 2/2] Remove context button in the drive toolbar --- customize.dist/src/less2/include/drive.less | 3 +++ www/common/drive-ui.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/customize.dist/src/less2/include/drive.less b/customize.dist/src/less2/include/drive.less index ccb156eb3..063cc71be 100644 --- a/customize.dist/src/less2/include/drive.less +++ b/customize.dist/src/less2/include/drive.less @@ -891,6 +891,9 @@ .fa-history { order: 50; } .fa-list, .fa-th-large { order: 25; } #cp-app-drive-toolbar-context-mobile, #cp-app-drive-toolbar-contextbuttons { order: 0; } + #cp-app-drive-toolbar-context-mobile { + .fa { margin: 0 !important; } + } #cp-app-drive-toolbar-contextbuttons { height: @variables_bar-height; display: flex; diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 8147b50fb..6f89041e1 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -1378,6 +1378,7 @@ define([ return; } // Non mobile + /* var $container = $driveToolbar.find('#cp-app-drive-toolbar-contextbuttons'); if (!$container.length) { return; } $container.html(''); @@ -1404,6 +1405,7 @@ define([ $container.append($a); $a.click(function() { $(el).click(); }); }); + */ }; var scrollTo = function ($element) {