public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH manager] fix #5352: ui: sdn: status: make the list scrollable
@ 2026-10-04 10:57 Michal Fox
  0 siblings, 0 replies; only message in thread
From: Michal Fox @ 2026-10-04 10:57 UTC (permalink / raw)
  To: pve-devel

The status grid is the only item of a vbox layout, but has no flex set.
So it gets as high as all its rows need, and if those do not fit on the
screen, the rest is cut off without any way to scroll to them.

Let the grid fill the available height, so it shows a scrollbar
instead.

Signed-off-by: Michal Fox <me@dualfroz.com>
---
Tested in the browser with the SDN panel and 75 mocked zone entries:
before, the grid was about 2000px high in a 500px high panel and cut
off, now it fills the panel and can be scrolled to the last entry.
Collapsing and expanding the grid still works.

 www/manager6/sdn/Status.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/sdn/Status.js b/www/manager6/sdn/Status.js
index d73b49c9..b287ef4c 100644
--- a/www/manager6/sdn/Status.js
+++ b/www/manager6/sdn/Status.js
@@ -31,6 +31,7 @@ Ext.define('PVE.sdn.Status', {
                 border: 0,
                 collapsible: true,
                 padding: '0 0 20 0',
+                flex: 1,
             },
         ];
 
-- 
2.43.0




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-04 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-04 10:57 [PATCH manager] fix #5352: ui: sdn: status: make the list scrollable Michal Fox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal