]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: fix Guest Summary Notes height
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 18 Jun 2021 11:34:09 +0000 (13:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Jun 2021 11:37:07 +0000 (13:37 +0200)
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 <d.csapak@proxmox.com>
www/manager6/panel/GuestStatusView.js
www/manager6/panel/GuestSummary.js

index 5929d9bf54818d4f55cc2c16d80a678f001d5d66..8db1f492c37330f81648170bdb4b8fa5a9169135 100644 (file)
@@ -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 {
index 7061b1a4fe59fa65469417c8535f31439837fa13..82cc7a7fa6e781790b1a0e5c61713606d27b202a 100644 (file)
@@ -54,6 +54,7 @@ Ext.define('PVE.qemu.Summary', {
            items = [
                {
                    xtype: 'container',
+                   height: 300,
                    layout: {
                        type: 'hbox',
                        align: 'stretch',