tailwind-nextjs-starter-blog
tailwind-nextjs-starter-blog copied to clipboard
feat: Move conditional rendering inside svg to prevent layout shift
While the ThemeSwitch
mounts there's a potential for the buttons to be shifted to the left if it loads in slowly.
Moving the conditional rendering inside the <svg/>
keeps the spacing open for the button to load in properly.
Someone is attempting to deploy a commit to a Personal Account owned by @timlrx on Vercel.
@timlrx 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 | Mar 31, 2024 2:42pm |
Thanks for the fix!