Skip to content

Commit 8d909d6

Browse files
committed
fix(Form): 表单输入框和label没对齐
1 parent 92b3a20 commit 8d909d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/Form/comps/label.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Label = ({ v }: { v: Partial<FormItemsProps> }) => {
1616

1717
const styles = StyleSheet.create({
1818
label: {
19-
width: 110,
19+
width: 'auto',
2020
fontSize: 16,
2121
color: '#434343',
2222
fontWeight: '500',

packages/core/src/Form/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { StyleSheet } from 'react-native';
22

33
const styles = StyleSheet.create({
44
warpper: {
5-
backgroundColor: '#fff',
5+
backgroundColor: '#fff5',
66
},
77
form_items_container: {
88
flex: 1,

0 commit comments

Comments
 (0)