ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.16k stars 59 forks source link

Action button is scrollable #243

Closed diggit closed 1 year ago

diggit commented 1 year ago

Describe the bug If notification has some action, button is too high and thus is scrollable. Could be some simple CSS issue, but I am not sure how to fix it.

To Reproduce Steps to reproduce the behavior:

  1. Start swaync 0.8.0 with default config
  2. Send notification with action (usb guard, dunstify,...)

Expected behavior Button is fully visible and thus is not scrollable

Screenshots scrolled_default scrolled_alt

Desktop (please complete the following information):

diggit commented 1 year ago

Looks like it's GTK3 theme dependent. with Adwaita, there no scrolling Problematic theme sets:

I guess we have to override some GTK theme inherited CSS property...

ErikReider commented 1 year ago

Thanks for looking into it! Custom themes are a bit annoying due to how they override some settings and break application custom CSS... Have you found what property is causing this behavior?

ErikReider commented 1 year ago

I'll close this as I sadly can't support all third-party GTK themes. I've added a note to the README in 9b3c147e