Skip to content

fix: center text in bio links with icons#3

Open
maxames wants to merge 1 commit intoleifjerami:mainfrom
maxames:fix/center-text-with-icons
Open

fix: center text in bio links with icons#3
maxames wants to merge 1 commit intoleifjerami:mainfrom
maxames:fix/center-text-with-icons

Conversation

@maxames
Copy link

@maxames maxames commented Nov 24, 2025

Problem

Text in bio links appears off-center when icons are present because icons occupy space in the flex layout, pushing text to the right.

Solution

  • Position icons absolutely (removed from flex flow)
  • Use justify-content: center on link containers for proper centering
  • Simplify span styling (removed unnecessary flex-grow)

Testing

  • Text properly centered in all bio links
  • Icon hover colors work correctly
  • Link hover effects functional
  • No breaking changes

Files changed: src/pages/index.astro

Position icons absolutely to properly center text within link containers.
@vercel
Copy link

vercel bot commented Nov 24, 2025

@maxames is attempting to deploy a commit to the leifjerami' projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link

netlify bot commented Nov 24, 2025

Deploy Preview for astro-quick-bio-kit ready!

Name Link
🔨 Latest commit fa3d1a1
🔍 Latest deploy log https://app.netlify.com/projects/astro-quick-bio-kit/deploys/6923bdb5128f120008fca777
😎 Deploy Preview https://deploy-preview-3--astro-quick-bio-kit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant