fix #645: layout issues while switching table view

This commit is contained in:
antelle 2017-05-29 23:46:36 +02:00
parent a4a0589512
commit 9918b63a4c
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ const ListView = Backbone.View.extend({
},
setSize: function(size) {
this.$el.css({ width: null, height: null });
this.$el.css({ width: 'auto', height: 'auto' });
if (size) {
this.$el.css('flex', '0 0 ' + size + 'px');
} else {