Remove context button in the drive toolbar

This commit is contained in:
yflory 2020-05-15 13:56:33 +02:00
parent de9d771427
commit fb10d65a4f
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -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) {