File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,24 @@ body {
26
26
border : 1px solid # ddd ;
27
27
box-sizing : border-box;
28
28
color : black;
29
- flex : 1 ;
29
+ width : 100 % ;
30
30
padding : 16px ;
31
31
}
32
32
33
33
.login-form > .user {
34
34
display : none;
35
35
}
36
36
37
- .login-form > .field > .submit {
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 {
38
47
margin-left : 20px ;
48
+ flex-shrink : 0 ;
39
49
}
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ <h1 class="main">Welcome to code-server</h1>
38
38
name ="password "
39
39
autocomplete ="current-password "
40
40
/>
41
- < input class ="submit -button " value ="SUBMIT " type ="submit " />
41
+ < input value ="SUBMIT " type ="submit " id ="submit-button ">
42
+ < label for ="submit-button " class ="submit -button "> SUBMIT</ label >
42
43
</ div >
43
44
{{ERROR}}
44
45
</ form >
You can’t perform that action at this time.
0 commit comments