Closed t1gu1 closed 3 months ago
I found the problem.
import "@tamagui/core/reset.css";
wasn't imported.
That being said, I stard the project with the expo-router
template.
So it would be a good idea to add that in the template.
I simply add the import at the main _layout.tsx file.
I will let you close the ticket since it can have an ajustement in the expo router template.
Please send that change would be super helpful!
Current Behavior
Here an example of how I use the Switch component
And the result on the web. (On mobile it looks perfect. Only a web problem)
Expected Behavior
Here is how I fix it manually by forcing a
padding: 0
There is the result by just adding
p={0}
and it looks great on web et mobile.Tamagui Version
Platform (Web, iOS, Android)
Reproduction
System Info