You are not logged in.
Pages: 1
Excuse my ignorance if this is not related to Xfce, but I'm asking here just in case.
I'm trying to reduce the vertical size of the menu bar (File, Edit, View etc.). So far I've tried these:
menubar { min-height: 20px; }
menubar { padding: 0; }
menubar { margin-top: -5px; }
The first one seems to work only when increasing it. Is there some hard-coded minimum value somewhere?
The second one has no effect so I presume the padding is already at 0.
The third one works, but alignment gets a bit messy as the text is shifted upwards and is no longer vertically centered.
Is there a way to get min-height to work or an equivalent "clean" way to achieve this?
EDIT: Solved it, had to use this instead:
menubar > menuitem { padding-top: 4px; padding-bottom: 4px; }
Last edited by ExEfSiiIi123 (2023-12-01 08:19:47)
Offline
Pages: 1
[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 510.27 KiB (Peak: 510.89 KiB) ]