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;
|
border: 1px solid #ddd;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: black;
|
color: black;
|
||||||
flex: 1;
|
width: 100%;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,6 +34,16 @@ body {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-form > .field > .submit {
|
.login-form > .field > input[type="submit"] {
|
||||||
margin-left: 20px;
|
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"
|
name="password"
|
||||||
autocomplete="current-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>
|
</div>
|
||||||
{{ERROR}}
|
{{ERROR}}
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue