mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 03:58:26 +00:00
fix button toolbar height
setting the border to false, instead of setting the style (which had the wrong syntax for extjs6 anyway) and set the height to 36 pixesl (because of the larger font) this makes the buttons vertically centered to make the text on the left vertically centered, we remove the padding Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
aa2522c0f2
commit
f3f4a82385
@ -43,7 +43,6 @@ Ext.define('PVE.panel.Config', {
|
|||||||
xtype: 'tbtext',
|
xtype: 'tbtext',
|
||||||
text: title,
|
text: title,
|
||||||
baseCls: 'x-panel-header-text',
|
baseCls: 'x-panel-header-text',
|
||||||
padding: '0 0 5 0'
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@ -64,8 +63,8 @@ Ext.define('PVE.panel.Config', {
|
|||||||
|
|
||||||
var toolbar = Ext.create('Ext.toolbar.Toolbar', {
|
var toolbar = Ext.create('Ext.toolbar.Toolbar', {
|
||||||
items: tbar,
|
items: tbar,
|
||||||
style: 'border:0px;',
|
border: false,
|
||||||
height: 32
|
height: 36
|
||||||
});
|
});
|
||||||
|
|
||||||
var tab = Ext.create('Ext.tab.Panel', {
|
var tab = Ext.create('Ext.tab.Panel', {
|
||||||
|
Loading…
Reference in New Issue
Block a user