]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
gui: GuestSummary: choose columns based on container width
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 4 Dec 2019 12:41:34 +0000 (13:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Dec 2019 13:20:37 +0000 (14:20 +0100)
commitbbc833099e41222324217cef4645e2b6aa96cd02
treeed5bc1da4036758042aebf8ab43b0cac8010a036
parentdf0875c20e94bf4b7d1b106580f4ee680be8120c
gui: GuestSummary: choose columns based on container width

instead of the viewport width. This means that the number of columns can
change when the tree width changes, not only on browser window resize

for this to work reliably, we have to change the structure of the first
two panels, so that they are in one container for non-templates. if
we do not do this, there are some weird glitches on resizing with the
scrollbar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Utils.js
www/manager6/panel/GuestSummary.js