File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ func disableFormAutofill() template.HTML {
996
996
and these dummy form values won't be used by backend code.
997
997
*/
998
998
return `
999
- <div style="position: absolute; width: 1px; height: 1px; overflow: hidden; z-index: -10000; ">
999
+ <div class="auto-fill-dummy ">
1000
1000
<input type="text" name="_autofill_dummy_username" class="ays-ignore">
1001
1001
<input type="password" name="_autofill_dummy_password" class="ays-ignore">
1002
1002
</div>
Original file line number Diff line number Diff line change @@ -962,6 +962,13 @@ a.ui.card:hover,
962
962
}
963
963
964
964
.form {
965
+ .auto-fill-dummy {
966
+ position : absolute ;
967
+ width : 1px ;
968
+ height : 1px ;
969
+ overflow : hidden ;
970
+ z-index : -10000 ;
971
+ }
965
972
.sub.field {
966
973
margin-left : 25px ;
967
974
}
You can’t perform that action at this time.
0 commit comments