[pve-devel] [PATCH manager 1/3] headerbar: use same height and padding for product name as PBS and PMG

Lukas Wagner l.wagner at proxmox.com
Fri Jul 21 11:39:08 CEST 2023


This makes the header bar look a bit less cramped and ensures consistency
if web interfaces are used side-by-side, e.g. on an ultrawide screen.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---

Notes:
    Disadvantage: We loose 8px of vertical space. However, I really think
    this is negligible.

 www/manager6/Workspace.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js
index 18d574b7..006e7f29 100644
--- a/www/manager6/Workspace.js
+++ b/www/manager6/Workspace.js
@@ -322,6 +322,7 @@ Ext.define('PVE.StdWorkspace', {
 		    },
 		    border: false,
 		    margin: '2 0 2 5',
+		    height: 38,
 		    items: [
 			{
 			    xtype: 'proxmoxlogo',
@@ -334,6 +335,7 @@ Ext.define('PVE.StdWorkspace', {
 				'font-size': '14px',
 				'line-height': '18px',
 			    },
+			    padding: '0 0 0 5',
 			},
 			{
 			    xtype: 'pveGlobalSearchField',
-- 
2.39.2






More information about the pve-devel mailing list