1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

Fixed: Allow toolbar buttons to be full width on x-small and small breakpoints (#1972)

This commit is contained in:
James White 2017-09-10 14:55:03 +01:00 committed by Leonardo Galli
parent c4957fffee
commit 1c1723b4f7
5 changed files with 16 additions and 3 deletions

View File

@ -80,6 +80,7 @@ module.exports = Marionette.Layout.extend({
var leftSideButtons = { var leftSideButtons = {
type : 'default', type : 'default',
storeState : false, storeState : false,
collapse: true,
items : [ items : [
{ {
title : 'Clear Blacklist', title : 'Clear Blacklist',

View File

@ -48,6 +48,16 @@
display : inline-block; display : inline-block;
} }
@media (max-width: @screen-sm-max) {
.x-toolbar-left-1 {
display: block;
}
.btn-group {
display: block;
}
}
.sorting-buttons { .sorting-buttons {
.sorting-title { .sorting-title {
display : inline-block; display : inline-block;

View File

@ -97,16 +97,17 @@ module.exports = Marionette.Layout.extend({
this.leftSideButtons = { this.leftSideButtons = {
type : 'default', type : 'default',
storeState : false, storeState : false,
collapse: true,
items : [ items : [
{ {
title : 'Update Library', title : 'Update library',
icon : 'icon-sonarr-refresh', icon : 'icon-sonarr-refresh',
command : 'refreshmovie', command : 'refreshmovie',
successMessage : 'Library was updated!', successMessage : 'Library was updated!',
errorMessage : 'Library update failed!' errorMessage : 'Library update failed!'
}, },
{ {
title : 'Delete Selected', title : 'Delete selected',
icon : 'icon-radarr-delete-white', icon : 'icon-radarr-delete-white',
className: 'btn-danger', className: 'btn-danger',
callback : this._deleteSelected callback : this._deleteSelected

View File

@ -41,7 +41,7 @@ module.exports = Marionette.Layout.extend({
leftSideButtons : { leftSideButtons : {
type : 'default', type : 'default',
storeState : false, storeState : false,
collapse : false, collapse : true,
items : [ items : [
{ {
title : 'Backup', title : 'Backup',

View File

@ -97,6 +97,7 @@ module.exports = Marionette.Layout.extend({
var leftSideButtons = { var leftSideButtons = {
type : 'default', type : 'default',
storeState : false, storeState : false,
collapse: true,
items : [ items : [
{ {
title : 'Search Selected', title : 'Search Selected',