]> git.proxmox.com Git - pmg-gui.git/commit
node certificate: make parent panel scrollable
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 11 Oct 2022 09:23:28 +0000 (11:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 Oct 2022 09:31:02 +0000 (11:31 +0200)
commitbfe027027f900afa1635ff96c1bef7bb1c254626
treefdef6aa403015703344911c9cfa69af2e2e48aa8
parentc4d58b0391d4410077d7d2f8f314038885868e8f
node certificate: make parent panel scrollable

The `ACME` panel may be rendered out of sight (overflow) when there
are enough SANs on the upper `Certificates` panel to push it down
enough and the browser/display height is too small.

Enable the `scrollable` config for the parent certificate view panel
in the y-axis (vertical) to make ExtJS automatically add a scrollbar
if the content overflows. Avoid enabling it for the x-axis too as
that breaks reflow of the layout if the browser window gets resized.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [T: fix commit message to one from manager]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/Certificates.js