]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/SpamQuarantine.js
quarantines: dock attachement grid to bottom, avoid toggle button
[pmg-gui.git] / js / SpamQuarantine.js
index c86ce79ac45e4d2a840ebc396a43cdb26c1fc592..388fc025e8e807d40420378593cc5439c8401436 100644 (file)
@@ -204,6 +204,12 @@ 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
+                       'border-bottom-width': '1px ! important',
+                   },
                    items: [
                        {
                            xtype: 'button',
@@ -262,13 +268,21 @@ Ext.define('PMG.SpamQuarantine', {
                },
                {
                    xtype: 'pmgSpamInfoGrid',
-                   border: false,
                    reference: 'spaminfo',
+                   border: false,
                },
                {
                    xtype: 'pmgMailInfo',
                    hidden: true,
                    reference: 'mailinfo',
+                   border: false,
+               },
+               {
+                   xtype: 'pmgAttachmentGrid',
+                   reference: 'attachmentlist',
+                   showDownloads: false,
+                   border: false,
+                   dock: 'bottom',
                },
            ],
        },