BearStudio / start-ui-web

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

Fix : FieldCurrency element overlapping on text #476

Closed ntatoud closed 3 months ago

ntatoud commented 3 months ago

Describe your changes

The start (and end) elements are overlapping on the FieldCurrency content. This is because InputCurrency is made with a library other than ChakraUI and the stylings are not working together. To fix that, I added a padding to the InputCurrency inside of FieldCurrency if there is an element.

I tested the field with all 4 sizes of input ('xs', 'sm', 'md', lg') and in order it gives :

image image image image

closes #474

Checklist

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
start-ui βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 20, 2024 2:48pm
sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud