1
0
mirror of synced 2024-11-23 23:01:00 +01:00

2nd release

fix scroll view bottom margin
This commit is contained in:
Juchan Roh 2020-03-14 23:08:51 +09:00 committed by GitHub
parent 5918f37633
commit e7a919ebd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,7 +308,7 @@ class CardEditScreen extends React.Component {
</TouchableOpacity>
</View>
</View>
<ScrollView style={{flex: 1, paddingHorizontal: 24, paddingVertical: 16,}}>
<ScrollView style={{flex: 1, paddingHorizontal: 24, paddingTop: 16,}}>
<ETextInput title={'카드 이름'} value={this.state.name} onChangeText={text => this.setState({name: text})} ref={ref => this.nameInput = ref}/>
<TouchableOpacity onPress={() => this.selectPhoto()}>
<ETextInput style={{marginTop: 24,}} title={'카드 배경'} value={this.state.image ? '사진이 선택되었습니다.' : '여기를 눌러 사진을 선택할 수 있습니다.'} editable={false}/>
@ -377,6 +377,7 @@ class CardEditScreen extends React.Component {
<Text style={{fontSize: 14, color: '#9E9E9E', marginTop: 20, fontWeight: 'bold'}}>미리보기</Text>
<CardPreview name={this.state.name} uid={this.state.uid} image={this.state.image} cardHeight={this.state.cardHeight ?? 0}/>
<View style={{height: 50}}/>
</ScrollView>
</KeyboardAvoidingView>
</SafeAreaView>