]> git.proxmox.com Git - pve-manager.git/commit
ui: fix column behavior with browser scaling
authorAaron Lauterer <a.lauterer@proxmox.com>
Mon, 2 Nov 2020 14:01:01 +0000 (15:01 +0100)
committerDominik Csapak <d.csapak@proxmox.com>
Tue, 17 Nov 2020 08:58:49 +0000 (09:58 +0100)
commitd27a44a615441d00a01bbc3ee798df36c33c690d
tree40a3c9284df281b6723b14545ea6b2901928a2d8
parentb15bdd864ef54e2b9652edd054defe23917d6920
ui: fix column behavior with browser scaling

especially on chromium based browser (e.g. chrome, edge) it can happen,
depending on the zoom level, that the last column does not fit next to
the other columns and is moved below the other columns.

This results in an ugly looking UI and in the worst case makes it
unusable.

This can also be triggered if the monitor is set to a higher scaling /
different DPI settings. I was able to have the same problem in Edge when
setting the scaling in the windows display settings to 125% (Clone VM).

Changing the layout from columns with 0.5 width to extjs HBOXes with
flex 1 works as expected.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/window/Clone.js
www/manager6/window/Migrate.js
www/manager6/window/Settings.js