Template talk:Election

From Fanlore
Jump to navigation Jump to search

Header Row Alignment

The header row for this template is slightly off-center. The expand/collapse button takes up space on the right, and centering the title centers it within the remaining space. Using "position:absolute" introduces problems on smaller screens because this causes the header row to not resize when the title spreads across multiple lines. There's definitely a way to solve this with mediawiki or jquery, since wikipedia has figured out a way to do it using their navbox-title class, but I'm probably not going to go digging for that. I think we will just have to accept that the title will be a little off-center, unless we're willing to remove "collapsible" from it. Putting this info here for someone in the future if they are thinking about this issue. -- FBV (talk) 07:53, 17 August 2022 (UTC)

going to just remove "collapsible" from it since it's a small nav box, which solves our problems -- FBV (talk) 21:43, 17 August 2022 (UTC)