Fixed buttons not having enough room on some devices

This commit is contained in:
Arnaud Vergnet 2020-04-06 15:18:15 +02:00
parent 7295108832
commit 7b332e11fc

View file

@ -236,13 +236,6 @@ class LoginScreen extends React.Component<Props, State> {
<Card.Content>
{this.getFormInput()}
<Card.Actions>
<Button
icon="help-circle"
mode="contained"
onPress={this.onResetPasswordClick}
style={{marginLeft: 'auto'}}>
{i18n.t("loginScreen.resetPassword")}
</Button>
<Button
icon="send"
mode="contained"
@ -253,6 +246,15 @@ class LoginScreen extends React.Component<Props, State> {
{i18n.t("loginScreen.login")}
</Button>
</Card.Actions>
<Card.Actions>
<Button
icon="help-circle"
mode="contained"
onPress={this.onResetPasswordClick}
style={{marginLeft: 'auto'}}>
{i18n.t("loginScreen.resetPassword")}
</Button>
</Card.Actions>
</Card.Content>
</Card>
);