login.css: Fix button styling on iOS
This commit is contained in:
parent
2a3608df53
commit
f79bb210ec
|
@ -26,7 +26,7 @@ body {
|
|||
border: 1px solid #ddd;
|
||||
box-sizing: border-box;
|
||||
color: black;
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,16 @@ body {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.login-form > .field > .submit {
|
||||
margin-left: 20px;
|
||||
.login-form > .field > input[type="submit"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
.login-form > .field > input[type="submit"]:focus + label {
|
||||
border: 2px solid #000;
|
||||
}
|
||||
|
||||
.login-form > .field > .submit{
|
||||
margin-left: 20px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
|
|
@ -38,7 +38,8 @@
|
|||
name="password"
|
||||
autocomplete="current-password"
|
||||
/>
|
||||
<input class="submit -button" value="SUBMIT" type="submit" />
|
||||
<input value="SUBMIT" type="submit" id="submit-button">
|
||||
<label for="submit-button" class="submit -button">SUBMIT</label>
|
||||
</div>
|
||||
{{ERROR}}
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue