Increase cancel button width (#3204)

This commit is contained in:
Mattermost Build
2019-08-30 02:01:02 +02:00
committed by Sudheer
parent e100ffc7dd
commit 9d357a0333
2 changed files with 7 additions and 5 deletions

View File

@@ -247,7 +247,7 @@ export default class Search extends Component {
Animated.timing(
this.inputFocusWidthAnimated,
{
toValue: this.contentWidth - 70,
toValue: this.contentWidth - 90,
duration: 200,
}
),
@@ -268,7 +268,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,
}
),
@@ -547,17 +547,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

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