SwayNotificationCenter
SwayNotificationCenter copied to clipboard
[Bug] incorrect alignment in the panel with positionY=bottom
With the config option positionY set to bottom, notifications align to the bottom of the notification panel, as expected.
In previous version (0.9.0) there was a sufficient gap between the last notification and the bottom of the panel.
However in 0.10.0 the last notification is partially positioned past the end of the window.
It is not a critical problem, but it does not look well, when there's usually plenty of space above.
0.9.0:
0.10.0:
It behaves the same with or without Waybar running, and also with control-center-exclusive-zone turned off.
Steps to reproduce the behavior:
- Use default config files and only change
positionYtobottom - Send a notification
- Open the notification panel
- See the problem
OS, versions:
- gentoo linux, Sway 1.9
- swaync 0.10.0
I just installed this today, and saw the same thing. I "fixed" it by adding a margin-bottom: 50px; to the style css in .control-center .control-center-list. So it looks like
.control-center .control-center-list {
/* List of notifications */
background: transparent;
margin-bottom: 50px;
}
I just installed this today, and saw the same thing. I "fixed" it by adding a
margin-bottom: 50px;to the style css in.control-center .control-center-list. So it looks like.control-center .control-center-list { /* List of notifications */ background: transparent; margin-bottom: 50px; }
The pr fixes this without any needed CSS tweaks :)
perfect! thank you
