[pve-devel] [PATCH widget-toolkit 1/1] window: safe destroy: make note more visible

Fabian Ebner f.ebner at proxmox.com
Mon Dec 13 09:25:13 CET 2021


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 at proxmox.com>
---

AFAICT, the only current user is datastore deletion in PBS and IMHO
it doesn't look worse after these changes.

 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.30.2






More information about the pve-devel mailing list