]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
window: safe destroy: make note more visible
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 13 Dec 2021 08:25:13 +0000 (09:25 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jan 2022 11:53:42 +0000 (12:53 +0100)
by not using a smaller font size and using the pmx-hint class. Also
don't align to the middle, as everything else is left-aligned.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/window/SafeDestroy.js

index ead0e04e019fc11c417b134a03d711e73d390589..474c21e8d0173def030440630391176760c0c96e 100644 (file)
@@ -159,15 +159,12 @@ Ext.define('Proxmox.window.SafeDestroy', {
                        hidden: true,
                        layout: {
                            type: 'vbox',
-                           align: 'middle',
                        },
-                       height: 25,
                        items: [
                            {
                                xtype: 'component',
                                reference: 'noteCmp',
-                               width: '300px',
-                               style: 'font-size: smaller; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;',
+                               userCls: 'pmx-hint',
                            },
                        ],
                    },