mirror of https://github.com/keeweb/keeweb.git
fix #645: layout issues while switching table view
This commit is contained in:
parent
a4a0589512
commit
9918b63a4c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue