[pve-devel] [PATCH manager] ui: re-align global search field to now shorter version

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Oct 11 09:16:23 CEST 2017


commit 48de6c299a33fe124d7193b2565d754efdbf8cd3 removed showing the
short SHA1 commit hash in the version info field but did not
realigned the search field so that it got a asymmetric space.

Adapt the Version info minimal width so that this is again the case.
---

Rather trivial change I had lying around, if it seems OK good else its
not too important to me :)

For comparision:

Before the short hash got removed:
https://pve.proxmox.com/pve-docs/images/screenshot/gui-ceph-pools.png

After the short hash got removed:
https://i.imgur.com/F0GahGX.png

After re-alignment (this patch):
https://i.imgur.com/owRznye.png

 www/manager6/Workspace.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js
index f2536a05..fa27fae9 100644
--- a/www/manager6/Workspace.js
+++ b/www/manager6/Workspace.js
@@ -296,7 +296,7 @@ Ext.define('PVE.StdWorkspace', {
 				'<img style="padding-top:4px;padding-right:5px" src="/pve2/images/proxmox_logo.png"/></a>'
 			},
 			{
-			    minWidth: 200,
+			    minWidth: 150,
 			    id: 'versioninfo',
 			    html: 'Virtual Environment'
 			},
-- 
2.11.0





More information about the pve-devel mailing list