Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-12-01 07:37:28

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

[SOLVED] Reduce menubar size

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 8 queries executed - Memory usage: 510.27 KiB (Peak: 510.89 KiB) ]