From 164a86abd55daccfe7b9a5b9c0c6e6a01fffe9dc Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 18 Jun 2021 13:34:09 +0200 Subject: [PATCH] ui: fix Guest Summary Notes height fixes 'infinite' height of the guest notes, by setting the height on the container a level up the notes view itself is already scrollable, so if it is too large, there'll be a scrollbar this does not change anything for templates, as there we show nothing under the notes and thus there the infinite height is ok Signed-off-by: Dominik Csapak --- www/manager6/panel/GuestStatusView.js | 2 -- www/manager6/panel/GuestSummary.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/www/manager6/panel/GuestStatusView.js b/www/manager6/panel/GuestStatusView.js index 5929d9bf..8db1f492 100644 --- a/www/manager6/panel/GuestStatusView.js +++ b/www/manager6/panel/GuestStatusView.js @@ -3,8 +3,6 @@ Ext.define('PVE.panel.GuestStatusView', { alias: 'widget.pveGuestStatusView', mixins: ['Proxmox.Mixin.CBind'], - height: 300, - cbindData: function(initialConfig) { var me = this; return { diff --git a/www/manager6/panel/GuestSummary.js b/www/manager6/panel/GuestSummary.js index 7061b1a4..82cc7a7f 100644 --- a/www/manager6/panel/GuestSummary.js +++ b/www/manager6/panel/GuestSummary.js @@ -54,6 +54,7 @@ Ext.define('PVE.qemu.Summary', { items = [ { xtype: 'container', + height: 300, layout: { type: 'hbox', align: 'stretch',