hugo-universal-theme icon indicating copy to clipboard operation
hugo-universal-theme copied to clipboard

Fix topbar text not vertically centered with social icons

Open vittorio88 opened this issue 8 months ago • 0 comments

Summary

  • Adds #top .row { display: flex; align-items: center; } to all 8 style.*.css variants
  • 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 server with 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

vittorio88 avatar Mar 15 '26 00:03 vittorio88