]> git.proxmox.com Git - pmg-gui.git/commitdiff
fix #2533: quarantine: add overflowHandler to the preview panel
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 4 Nov 2022 15:04:25 +0000 (16:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 08:46:31 +0000 (09:46 +0100)
so that the menu can be used even on narrower screens

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/AttachmentQuarantine.js
js/SpamQuarantine.js
js/VirusQuarantine.js

index 5e0c2ea7d644d558c7a59c8e0257675539bafdbe..29cbb27ae7b4ca350b51599b39929db3f64d357b 100644 (file)
@@ -97,6 +97,7 @@ Ext.define('PMG.AttachmentQuarantine', {
            dockedItems: [
                {
                    xtype: 'toolbar',
+                   overflowHandler: 'scroller',
                    dock: 'top',
                    items: [
                        {
index af706fd70681aa23db093cf77f6f6c5fb4d71283..f5fc803d42f8393c73c1f6b0bc717133a94db123 100644 (file)
@@ -204,6 +204,7 @@ Ext.define('PMG.SpamQuarantine', {
                {
                    xtype: 'toolbar',
                    dock: 'top',
+                   overflowHandler: 'scroller',
                    style: {
                        // docked items have set the bottom with to 0px with '! important'
                        // but we still want one here, so we can remove the borders of the grids
index 240cd675b0c787581dee4050bdf5f697bf7c8546..af00204d56ddb3d202d122f25a30e0147345b3f8 100644 (file)
@@ -106,6 +106,7 @@ Ext.define('PMG.VirusQuarantine', {
                {
                    xtype: 'toolbar',
                    dock: 'top',
+                   overflowHandler: 'scroller',
                    style: {
                        // docked items have set the bottom with to 0px with '! important'
                        // but we still want one here, so we can remove the borders of the grids