Make drive toolbar responsive

This commit is contained in:
Maxime Cesson 2022-08-26 18:02:04 +02:00
parent 2c3f1f3b07
commit febe51aabc
2 changed files with 9 additions and 4 deletions

View File

@ -967,6 +967,9 @@
}
}
}
.cp-toolbar-dropdown-nowrap {
white-space: nowrap;
}
.cp-toolbar-bottom {
color: @cp_toolbar-bottom-fg;
display: inline-flex;

View File

@ -3029,9 +3029,10 @@ define([
});
var dropdownConfig = {
buttonContent: [
h('span.fa.fa-plus'),
h('span', Messages.fm_newButton),
h('i.fa.fa-plus'),
h('span.cp-button-name', Messages.fm_newButton),
],
buttonCls: 'cp-toolbar-dropdown-nowrap',
options: options,
feedback: 'DRIVE_NEWPAD_LOCALFOLDER',
common: common
@ -3103,9 +3104,10 @@ define([
}
var dropdownConfig = {
buttonContent: [
h('span.fa.fa-filter'),
h('span', Messages.fm_filterBy),
h('i.fa.fa-filter'),
h('span.cp-button-name', Messages.fm_filterBy),
],
buttonCls: 'cp-toolbar-dropdown-nowrap',
options: options,
feedback: 'DRIVE_FILTERBY',
common: common