[FIX] fixed kanban columns size

bzr revid: fp@openerp.com-20120730150052-muadhzkp2ky75g0z
This commit is contained in:
Fabien Pinckaers 2012-07-30 17:00:52 +02:00
parent f2ee1381ca
commit 458ae01487
1 changed files with 3 additions and 3 deletions

View File

@ -295,10 +295,10 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
if (!group.state.folded) {
if (182*unfolded>=self.$element.width()) {
group.$element.css('width', "170px");
} else if (262*unfolded>self.$element.width()) {
group.$element.css('width', Math.round(100/unfolded) + '%');
} else {
} else if (262*unfolded<self.$element.width()) {
group.$element.css('width', "250px");
} else {
group.$element.css('width', Math.floor(self.$element.width()/unfolded) + 'px');
}
}
});