1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +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 = {
type : 'default',
storeState : false,
collapse: true,
items : [
{
title : 'Clear Blacklist',

View File

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

View File

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

View File

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

View File

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