From cd7e37fa955993d41c091c0e6182c2bc3572a667 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Mon, 13 Dec 2021 09:25:13 +0100 Subject: [PATCH] window: safe destroy: make note more visible 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 --- src/window/SafeDestroy.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/window/SafeDestroy.js b/src/window/SafeDestroy.js index ead0e04..474c21e 100644 --- a/src/window/SafeDestroy.js +++ b/src/window/SafeDestroy.js @@ -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', }, ], }, -- 2.39.2