Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/374.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 减少本机基址输入行的长度_Javascript_Css_Typescript_React Native_Native Base - Fatal编程技术网

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>