Template talk:Rank2
Jump to navigation
Jump to search
TODO
Apparently font-size: 0 messes up a lot of other things. Need to fix this.Md143rbh7f (talk) 01:43, 15 July 2023 (UTC)
Done! Sort of. The solution introduces a few CSS issues. The underlying problem is that Fandom's mobile site, for some reason, includes extra spaces when it renders images, so<a><img></a>
on desktop becomes<a> <img> </a>
on mobile. This is horrible, obviously, because it messes up all the spacing on the rank spec.The current (very nasty) workaround is to combine font-size:0. However this introduces a lot of other issues, like completely messing up the vertical alignment in tables. I've fixed this by adding vertical-align:middle. But hopefully in the future this will not be necessary.I still don't have access to the CSS so this template still has to do everything element by element. Once I get access I will consolidate some of those things so that they are more semantic and easier to maintain. Md143rbh7f (talk) 16:06, 15 July 2023 (UTC)Fixed via CSS and left a long comment. Hopefully it'll get resolved at some point in the future. Md143rbh7f (talk) 22:03, 15 July 2023 (UTC)- Hah. The long-term fix was to move away from Fandom! Md143rbh7f (talk) 03:59, 4 March 2024 (UTC)