Template talk:Election
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)