tailwind-nextjs-starter-blog
tailwind-nextjs-starter-blog copied to clipboard
Fix button alignment in ThemeSwitch component
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
flexlayout and alignment classes to the div containingMenu.ButtoninThemeSwitch.tsx.
Before:
After:
@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.
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 |
Thanks for the fix! In the future, do run the code through prettier before committing.