diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-06-12 05:35:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 23:35:03 -0400 |
commit | 8770bceafa3844a97f35d3f8a35089438bf2f33b (patch) | |
tree | 5df6c818c8cd8e9c8980bb2a5392b6a7282a4bf4 /templates | |
parent | 0973c036019c955172ebce99d58eede2e9ac55ca (diff) | |
download | gitea-8770bceafa3844a97f35d3f8a35089438bf2f33b.tar.gz gitea-8770bceafa3844a97f35d3f8a35089438bf2f33b.zip |
Fix search form button overlap (#11840)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/search.tmpl | 8 | ||||
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl index 632270da88..c51d4c906c 100644 --- a/templates/repo/issue/search.tmpl +++ b/templates/repo/issue/search.tmpl @@ -1,13 +1,11 @@ <form class="ui form ignore-dirty"> - <div class="ui fluid action input"> + <div class="ui search fluid action input"> <input type="hidden" name="type" value="{{$.ViewType}}"/> <input type="hidden" name="state" value="{{$.State}}"/> <input type="hidden" name="labels" value="{{.SelectLabels}}"/> <input type="hidden" name="milestone" value="{{$.MilestoneID}}"/> <input type="hidden" name="assignee" value="{{$.AssigneeID}}"/> - <div class="ui search action input"> - <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> - <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button> - </div> + <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> + <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button> </div> </form> diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index ebe552f506..ed830998ac 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -67,15 +67,13 @@ </div> <div class="column center aligned"> <form class="ui form ignore-dirty"> - <div class="ui fluid action input"> + <div class="ui search fluid action input"> <input type="hidden" name="type" value="{{$.ViewType}}"/> <input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}}%2C{{end}}]"/> <input type="hidden" name="sort" value="{{$.SortType}}"/> <input type="hidden" name="state" value="{{$.State}}"/> - <div class="ui search action input"> - <input name="q" value="{{$.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> - <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button> - </div> + <input name="q" value="{{$.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> + <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button> </div> </form> </div> |