Commit 61428d5a authored by quentin.vrel's avatar quentin.vrel

fixing the bad enter redirection

parent 21f1f902
...@@ -6,9 +6,10 @@ ...@@ -6,9 +6,10 @@
<text-input id="login" label="Pseudo"/> <text-input id="login" label="Pseudo"/>
<pwd-input id="password" label="Mot de passe"/> <pwd-input id="password" label="Mot de passe"/>
</div> </div>
<div class="submit-buttons">
<svg-button id="back" svg="/icons/back.svg"/> <svg-button id="validate" svg="/icons/validate.svg"/>
<svg-button id="validate" svg="/icons/validate.svg"/> <svg-button id="back" svg="/icons/back.svg"/>
</div>
</form> </form>
</div> </div>
</template> </template>
...@@ -95,6 +96,11 @@ export default { ...@@ -95,6 +96,11 @@ export default {
} }
.submit-buttons{
flex-direction: row-reverse;
display: flex;
justify-content: center;
}
*, ::before, ::after { *, ::before, ::after {
......
...@@ -13,8 +13,10 @@ ...@@ -13,8 +13,10 @@
<error-message id="error-back" errormessage="Tous les champs obligatoires ne sont pas remplis." v-show="this.showNotFilledError"/> <error-message id="error-back" errormessage="Tous les champs obligatoires ne sont pas remplis." v-show="this.showNotFilledError"/>
</div> </div>
<svg-button id="back" svg="/icons/back.svg"/> <div class="submit-buttons">
<svg-button id="validate" svg="/icons/validate.svg"/> <svg-button id="validate" svg="/icons/validate.svg"/>
<svg-button id="back" svg="/icons/back.svg"/>
</div>
</form> </form>
</div> </div>
</template> </template>
...@@ -128,6 +130,13 @@ function validateEmail (email) { ...@@ -128,6 +130,13 @@ function validateEmail (email) {
} }
.submit-buttons{
flex-direction: row-reverse;
display: flex;
justify-content: center;
}
*, ::before, ::after { *, ::before, ::after {
box-sizing: border-box; box-sizing: border-box;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment