BearStudio / start-ui-web

πŸš€ Start UI [web] is an opinionated UI starter with 🟦 TypeScript, βš›οΈ React, ⚫️ NextJS, ⚑️ Chakra UI, 🟦 tRPC, πŸ” Lucia Auth, β–² Prisma, πŸ–οΈ TanStack Query, πŸ“• Storybook, 🎭 Playwright,πŸ“‹ React Hook Form,β—½From the 🐻 BearStudio Team
https://demo.start-ui.com
MIT License
1.39k stars 129 forks source link

Toast Icon is not aligned with the Title #392

Closed ntatoud closed 1 year ago

ntatoud commented 1 year ago

Description

As seen on this screen taken on the StartUI demo, the icon and the title are not aligned. image

How to fix

The fix is quite simple. In the alert.ts file, change the icon height from 4 to 6 to match the title lineHeight)

Result after fix

image