Javascript 减少本机基址输入行的长度
我正在我的应用程序中使用此选项:Javascript 减少本机基址输入行的长度,javascript,css,typescript,react-native,native-base,Javascript,Css,Typescript,React Native,Native Base,我正在我的应用程序中使用此选项: <Item fixedLabel> <Input style={{ width: 0.5 }}/> </Item> 固定标签线的长度延伸到整个屏幕。我怎样才能缩小它的尺寸?我已经尝试过使用width和paddingLeft/right,但没有任何区别 将其包装在一个div中,然后将样式添加到该div中 <div className='cusmtomClass'&g
<Item fixedLabel>
<Input style={{ width: 0.5 }}/>
</Item>
固定标签线的长度延伸到整个屏幕。我怎样才能缩小它的尺寸?我已经尝试过使用
width
和paddingLeft/right
,但没有任何区别 将其包装在一个div中,然后将样式添加到该div中
<div className='cusmtomClass'>
<Item fixedLabel>
<Input style={{ width: 0.5 }}/>
</Item>
</div>