Skip to content

Commit 11f9a57

Browse files
committed
fix(Input): 数据框样式优化,文字没对齐
1 parent ee93bb3 commit 11f9a57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/src/Input/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,15 @@ const inputStyles = StyleSheet.create({
182182
flexDirection: 'row',
183183
alignItems: 'center',
184184
backgroundColor: 'transparent',
185+
border: '1px solid',
186+
paddingHorizontal: 5,
185187
},
186188
input: {
187189
flex: 1,
188190
color: '#000',
189191
backgroundColor: 'transparent',
190192
paddingVertical: 0,
193+
paddingTop: 5,
191194
},
192195
always: {
193196
borderWidth: 1,

0 commit comments

Comments
 (0)