gluestack

gluestack Logogluestack

Some arbitrary padding values work; others don't.

onehat1 posted this in #support
Open in Discord
Avatar
onehat1OP
Hello. I want to apply arbitrary pixel values on padding like so:

<Box className="p-[10px]"><Text>10px</Text></Box>
<Box className="p-[11px]"><Text>11px</Text></Box>

It works for 10px but not for 11px. Why?

The css classes get applied on the divs, but no style is attached to them.

Here's a repo showing the error: https://github.com/OneHatRepo/Gluestack-Error
Image

1 Reply