Skip to content

Commit 30100ca

Browse files
committed
Revert "login.css: Fix button styling on iOS"
This reverts commit f79bb21.
1 parent f79bb21 commit 30100ca

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

Diff for: src/browser/pages/#.css

+2-12
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,14 @@ body {
2626
border: 1px solid #ddd;
2727
box-sizing: border-box;
2828
color: black;
29-
width: 100%;
29+
flex: 1;
3030
padding: 16px;
3131
}
3232

3333
.login-form > .user {
3434
display: none;
3535
}
3636

37-
.login-form > .field > input[type="submit"] {
38-
position: absolute;
39-
left: -9999px;
40-
}
41-
42-
.login-form > .field > input[type="submit"]:focus + label {
43-
border: 2px solid #000;
44-
}
45-
46-
.login-form > .field > .submit{
37+
.login-form > .field > .submit {
4738
margin-left: 20px;
48-
flex-shrink: 0;
4939
}

Diff for: src/browser/pages/#.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ <h1 class="main">Welcome to code-server</h1>
3838
name="password"
3939
autocomplete="current-password"
4040
/>
41-
<input value="SUBMIT" type="submit" id="submit-button">
42-
<label for="submit-button" class="submit -button">SUBMIT</label>
41+
<input class="submit -button" value="SUBMIT" type="submit" />
4342
</div>
4443
{{ERROR}}
4544
</form>

0 commit comments

Comments
 (0)