Increase cancel button width (#3203)

This commit is contained in:
Miguel Alatzar 2019-08-30 08:54:50 +09:00 committed by Sudheer
parent cc76f60675
commit 6ab325ca9e
2 changed files with 7 additions and 5 deletions

View file

@ -248,7 +248,7 @@ export default class Search extends Component {
Animated.timing(
this.inputFocusWidthAnimated,
{
toValue: this.contentWidth - 70,
toValue: this.contentWidth - 90,
duration: 200,
}
),
@ -269,7 +269,7 @@ export default class Search extends Component {
Animated.timing(
this.btnCancelAnimated,
{
toValue: this.state.leftComponentWidth ? 15 - this.state.leftComponentWidth : 10,
toValue: this.state.leftComponentWidth ? 15 - this.state.leftComponentWidth : 5,
duration: 200,
}
),
@ -549,17 +549,18 @@ const styles = StyleSheet.create({
position: 'absolute',
paddingLeft: 1,
paddingTop: 3,
right: 65,
right: 80,
width: 25,
},
iconDeleteDefault: {
color: 'grey',
},
cancelButton: {
flex: 1,
justifyContent: 'center',
alignItems: 'flex-start',
alignItems: 'center',
backgroundColor: 'transparent',
width: 60,
minWidth: 75,
height: 50,
},
cancelButtonText: {

View file

@ -160,6 +160,7 @@ export default class ChannelsList extends PureComponent {
onShowTeams={onShowTeams}
/>
)}
positionRightDelete={5}
/>
</View>
);