hugo-universal-theme
hugo-universal-theme copied to clipboard
Fix topbar text not vertically centered with social icons
Summary
- Adds
#top .row { display: flex; align-items: center; }to all 8style.*.cssvariants - The topbar social icon
<a>tags are taller than the text line-height, causing the left-column text to sit at the top of the row rather than being vertically centered - Uses proper CSS (flexbox) rather than padding hacks for robust vertical alignment
Test plan
- [x] Run
hugo serverwith topbar enabled ([params.topbar]in config) - [x] Verify topbar text is vertically centered with the social icons at desktop width
- [x] Verify no layout breakage at mobile widths
🤖 Generated with Claude Code