File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,24 @@ body {
2626 border : 1px solid # ddd ;
2727 box-sizing : border-box;
2828 color : black;
29- flex : 1 ;
29+ width : 100 % ;
3030 padding : 16px ;
3131}
3232
3333.login-form > .user {
3434 display : none;
3535}
3636
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 {
3847 margin-left : 20px ;
48+ flex-shrink : 0 ;
3949}
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ <h1 class="main">Welcome to code-server</h1>
3838 name ="password "
3939 autocomplete ="current-password "
4040 />
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 >
4243 </ div >
4344 {{ERROR}}
4445 </ form >
You can’t perform that action at this time.
0 commit comments