New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secondary Tag CSS alignment off in discussion list #3245
Comments
This happens on Apple devices (of course). Mac and iPhone. Only small screens/the mobile layout. And, even stranger, if the secondary tag is long, it doesn’t happen. The tag name has to be fairly short. For example, I have a secondary tag called Podcast Episodes. Because that’s fairly long it’s aligned. But other tags like Meta, are not aligned. Side note, I feel like since Apple released their most recent MacOS and iOS, I’ve seen more browser issues than I have in a long time. Maybe if no one else reports this, or no one else cares that much, we just wait and see if maybe Apple’s next releases fix things. Because I’m sure they’ve received all kinds of bug reports. |
Someone confirmed this is a thing: https://discuss.flarum.org/d/29882-tags-appear-broken-in-safari/8 Fix is:
I will attempt a pull request. |
New idea. Forget the
I'm not going to do a pull request after-all. This is just one CSS rule that needs to be added. Any core dev can do this at any moment in a flash. Someone just needs to make sure adding |
It would still be preferable to do this via a PR to better facilitate discussion (we usually try to avoid pushing directly to main, even as core devs). From a quick local test, it seems to work though! |
Ok, pull request done. Thanks for taking a look! |
Sorry @davwheat and @askvortsov1 but I noticed today on my iPhone that the CSS I ended up using in this pull request doesn't work. I don't know what's going on. Could be extension conflicts. Could be caching issues. The only way I can fix my tag alignment issue in mobile Safari is by using:
The But, at this point. I just don't know. You might want to undo this pull request/merge even though it probably won’t harm anything. Because, it probably won’t help either. You might need someone more experienced with an iPhone to fully debug and figure out this one. It's tough because I obviously do not have a clean local dev environment on my iPhone. So this can only be tested on live sites with a bunch of extensions. |
Bug Report
Current Behavior
The secondary tags are slightly misaligned on small screens.
Steps to Reproduce
Expected Behavior
Tags should be perfectly aligned in a row.
Screenshots
Environment
Possible Solution
I tried a couple basic tweaks such as adding margin-top to child tags, but even with !important I'm unable to correct the misalignment. Admittedly though, I did not spend a ton of time on this. Maybe later I can, unless this is already fixed for the next release.
The text was updated successfully, but these errors were encountered: