This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
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.
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:
flex
layout and alignment classes to the div containingMenu.Button
inThemeSwitch.tsx
.Before:
After: