[pmg-devel] [PATCH pmg-gui 5/5] fix #2533: quarantine: add overflowHandler to the preview panel

Dominik Csapak d.csapak at proxmox.com
Fri Nov 4 16:04:25 CET 2022


so that the menu can be used even on narrower screens

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/AttachmentQuarantine.js | 1 +
 js/SpamQuarantine.js       | 1 +
 js/VirusQuarantine.js      | 1 +
 3 files changed, 3 insertions(+)

diff --git a/js/AttachmentQuarantine.js b/js/AttachmentQuarantine.js
index 5e0c2ea..29cbb27 100644
--- a/js/AttachmentQuarantine.js
+++ b/js/AttachmentQuarantine.js
@@ -97,6 +97,7 @@ Ext.define('PMG.AttachmentQuarantine', {
 	    dockedItems: [
 		{
 		    xtype: 'toolbar',
+		    overflowHandler: 'scroller',
 		    dock: 'top',
 		    items: [
 			{
diff --git a/js/SpamQuarantine.js b/js/SpamQuarantine.js
index 2cdca0d..f14f9f2 100644
--- a/js/SpamQuarantine.js
+++ b/js/SpamQuarantine.js
@@ -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
diff --git a/js/VirusQuarantine.js b/js/VirusQuarantine.js
index a92ba28..bd5699d 100644
--- a/js/VirusQuarantine.js
+++ b/js/VirusQuarantine.js
@@ -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
-- 
2.30.2





More information about the pmg-devel mailing list