Skip to content

Commit dbee392

Browse files
committed
修复 input 样式在真机上的问题
1 parent 9bd8836 commit dbee392

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/theme/components/Item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default (variables = variable) => {
8181
height: variables.inputHeightBase,
8282
color: variables.inputColor,
8383
flex: 1,
84-
top: Platform.OS === 'ios' ? 1.5 : 4,
84+
top: Platform.OS === 'ios' ? 1.5 : undefined,
8585
fontSize: variables.inputFontSize,
8686
lineHeight: variables.inputLineHeight,
8787
},

0 commit comments

Comments
 (0)