Closed Kekun closed 4 days ago
The padding is the default style for all popovers, could you point me on the exact issues / what should change and how?
For example, in your screenshot, I see these borders looking out of place
And these don't really match
Border radius should probably be dropped or set it to a more appropriate value, like the account switcher popover
Yeah I tried to quickly hack a thing in the inspector when writing this report, but I didn't manage to do a thing because I couldn't get the popover to stay there while I was browsing the inspector. I'll have to build the app and all, which is more involved and will take me more time, so that'll be when I'll be able to find the time for it.
You can still hack on it, if you want to give it a try (will probably require using many wildcard selectors):
popover > * {
padding: 0;
}
popover .ttl-profile-cover content {
border-radius: 0px;
}
This is enough in my tests:
popover > contents {
padding: 0;
}
Except of course it should be turned into a class to have it applied only on the relevant popovers.
That being said there's a difference between the main
branch and 0.8.1: the covers aren't rounded in main
.
Alright, expect a PR really soon.
That being said there's a difference between the main branch and 0.8.1: the covers aren't rounded in main.
Nothing has changed https://github.com/GeopJr/Tuba/compare/v0.8.1...main :thinking:
Alright, expect a PR really soon.
Thanks!
Overall, while it does look better, I don't know if the padding was there for an accessibility reason, for example differentiating popovers from the background
Nothing has changed https://github.com/GeopJr/Tuba/compare/v0.8.1...main 🤔
Yeah IDK why but I had some weird behavior I haven't been able to reproduce. :shrug:
Overall, while it does look better, I don't know if the padding was there for an accessibility reason, for example differentiating popovers from the background
Frankly I doubt it'd help in any way regarding a11y, I think they were it only because it makes sense in most cases to have some padding so the devs don't have to add it, and it helps keeping it consistent across apps, but the mini profile popover is one of these cases where you want to drop it and bake the padding yourself.
Describe the bug
In messages, when clicking on the avatar of its author there's a popover that gives information about this author's account. This popover has some odd looking margin between its border and its content, it breaks the look of the scrolled window, its shadows, its scrollbar is oddly in the middle, etc.
Steps To Reproduce
Logs and/or Screenshots
Instance Backend
Mastodon
Operating System
Fedora Linux 40.20240617.0 (Silverblue)
Package
Flatpak
Troubleshooting information
os: GNOME 46 (Flatpak runtime) prefix: /app flatpak: true version: 0.8.1 (production) gtk: 4.14.4 (4.14.4) libadwaita: 1.5.1 (1.5.1) libsoup: 3.4.4 (3.4.4) libgtksourceview: 5.12.0 (5.12.0)
Additional Context
No response