tailwind-nextjs-starter-blog icon indicating copy to clipboard operation
tailwind-nextjs-starter-blog copied to clipboard

Fix button alignment in ThemeSwitch component

Open Misaki-Akeno opened this issue 1 year ago • 1 comments

Fix button alignment in ThemeSwitch component

This PR fixes the alignment issue of the button within the ThemeSwitch component. The button was not properly centered within its container, causing it to appear misaligned in the navigation bar. This fix ensures that the button is vertically centered.

Changes Made:

  • Applied flex layout and alignment classes to the div containing Menu.Button in ThemeSwitch.tsx.

Before:

image

After:

image

Misaki-Akeno avatar Jul 01 '24 05:07 Misaki-Akeno

@cxf213 is attempting to deploy a commit to the timlrx's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jul 01 '24 05:07 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwind-nextjs-starter-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 1:31pm

vercel[bot] avatar Jul 10 '24 13:07 vercel[bot]

Thanks for the fix! In the future, do run the code through prettier before committing.

timlrx avatar Jul 10 '24 13:07 timlrx