Disable form autofill (#17291)

]* fix aria-hidden and tabindex

* use {{template "base/disable_form_autofill"}} instead of {{DisableFormAutofill}}

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
wxiaoguang 2021-10-19 06:08:41 +08:00 committed by GitHub
parent c59afa752d
commit 4822eed99d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 51 additions and 15 deletions

View file

@ -962,10 +962,13 @@ a.ui.card:hover,
}
.form {
.fake {
display: none !important;
.autofill-dummy {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
z-index: -10000;
}
.sub.field {
margin-left: 25px;
}