Development discussions around Shopify APIs
Hi there,
I'm using a Polaris <TextField> in my code. It defaults to full width though. Is there a way to change the width? An example is this screenshot, where the Textfield is not full width. So it can be done, but how?
Hi,
You have to write some custom css for that textbox for in app. As far as I know, Polaris TextField does not have any width setting.
What is your code for the input field?
The only way I know is to wrap in Stack with alignment fill to extend the whole width.
<Stack alignment="fill" vertical={true}>
<TextField
...
/>
</Stack>
User | RANK |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By