Gnome 46 too much padding on notification

HI,

how can I change the padding in notification banners?
Since the gnome46 update the padding got pretty wild on my setup.

image

System:
Kernel: 6.6.30-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
Desktop: GNOME v: 46.1 tk: GTK v: 3.24.41 wm: gnome-shell
tools: gsd-screensaver-proxy dm: GDM v: 46.0 Distro: Manjaro
base: Arch Linux
Info:
Processes: 430 Power: uptime: 39m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.5 GiB services: gsd-power,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
running-in: gnome-terminal inxi: 3.3.34

Padding is not part of the Desktop Notifications Specification.

Just an idea: you can use CSS. Launch an app with GTK_DEBUG=interactive in front of it and the GTK inspector will also launch. There you can examine the style class and change the class, for example, in ~/.config/gtk-4.0/gtk.css.

The GTK+ Inspector – GTK Development Blog

1 Like

If I remember correctly from my own ones, inline CSS also works.

1 Like

It isn’t the most comfortable workaround. But it works I guess. :slight_smile:
Thank you!

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.