1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

Revert "login.css: Fix button styling on iOS"

This reverts commit f79bb210ec.
This commit is contained in:
Anmol Sethi 2020-11-19 10:41:37 -05:00
parent f79bb210ec
commit 30100caf0c
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
2 changed files with 3 additions and 14 deletions

View File

@ -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;
width: 100%; flex: 1;
padding: 16px; padding: 16px;
} }
@ -34,16 +34,6 @@ body {
display: none; display: none;
} }
.login-form > .field > input[type="submit"] { .login-form > .field > .submit {
position: absolute;
left: -9999px;
}
.login-form > .field > input[type="submit"]:focus + label {
border: 2px solid #000;
}
.login-form > .field > .submit{
margin-left: 20px; margin-left: 20px;
flex-shrink: 0;
} }

View File

@ -38,8 +38,7 @@
name="password" name="password"
autocomplete="current-password" autocomplete="current-password"
/> />
<input value="SUBMIT" type="submit" id="submit-button"> <input class="submit -button" value="SUBMIT" type="submit" />
<label for="submit-button" class="submit -button">SUBMIT</label>
</div> </div>
{{ERROR}} {{ERROR}}
</form> </form>