]> git.proxmox.com Git - pmg-gui.git/commitdiff
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)
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

index 894255e13032325a18b97e3fdae1defcd0e44bd0..84ce8629bb5d414d6a726a50ada97b4d39283b27 100644 (file)
@@ -28,6 +28,7 @@ Ext.define('PMG.CertificateView', {
     alias: 'widget.pmgCertificatesView',
 
     title: gettext('Certificates'),
+    scrollable: 'y',
 
     items: [
        {