Commit graph

3 commits

Author SHA1 Message Date
yp05327 eae555ff23
Remove autofocus in search box ()
Mentioned here:
https://github.com/go-gitea/gitea/pull/27982#issuecomment-1807923026
2023-11-20 08:57:46 +00:00
Denys Konovalov 2325fe777d
cleanup locale function usage () 2023-09-24 20:31:58 +00:00
silverwind af094fbb6c
Introduce shared template for search inputs ()
- Set
[type=search](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search)
- Disable spellcheck
- Set maxLength 255 that I found in `templates/repo/issue/search.tmpl`
- Remove unnecessary `max-width`, it does nothing

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-06-22 10:27:35 +00:00