Client - fix duration inputs + style fix on picture edition

This commit is contained in:
Sam 2022-03-27 13:10:03 +02:00
parent 4b54634ce8
commit 8a85f6d1c0
2 changed files with 7 additions and 0 deletions

View File

@ -89,6 +89,7 @@
.user-picture-form { .user-picture-form {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: $default-margin;
form { form {
display: flex; display: flex;

View File

@ -137,6 +137,8 @@
class="workout-duration" class="workout-duration"
type="text" type="text"
placeholder="HH" placeholder="HH"
minlength="1"
maxlength="2"
pattern="^([0-1]?[0-9]|2[0-3])$" pattern="^([0-1]?[0-9]|2[0-3])$"
required required
@invalid="invalidateForm" @invalid="invalidateForm"
@ -150,6 +152,8 @@
class="workout-duration" class="workout-duration"
type="text" type="text"
pattern="^([0-5][0-9])$" pattern="^([0-5][0-9])$"
minlength="2"
maxlength="2"
placeholder="MM" placeholder="MM"
required required
@invalid="invalidateForm" @invalid="invalidateForm"
@ -163,6 +167,8 @@
class="workout-duration" class="workout-duration"
type="text" type="text"
pattern="^([0-5][0-9])$" pattern="^([0-5][0-9])$"
minlength="2"
maxlength="2"
placeholder="SS" placeholder="SS"
required required
@invalid="invalidateForm" @invalid="invalidateForm"