Fix search form button overlap (#11840)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
0973c03601
commit
8770bceafa
2 changed files with 6 additions and 10 deletions
|
@ -1,13 +1,11 @@
|
||||||
<form class="ui form ignore-dirty">
|
<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="type" value="{{$.ViewType}}"/>
|
||||||
<input type="hidden" name="state" value="{{$.State}}"/>
|
<input type="hidden" name="state" value="{{$.State}}"/>
|
||||||
<input type="hidden" name="labels" value="{{.SelectLabels}}"/>
|
<input type="hidden" name="labels" value="{{.SelectLabels}}"/>
|
||||||
<input type="hidden" name="milestone" value="{{$.MilestoneID}}"/>
|
<input type="hidden" name="milestone" value="{{$.MilestoneID}}"/>
|
||||||
<input type="hidden" name="assignee" value="{{$.AssigneeID}}"/>
|
<input type="hidden" name="assignee" value="{{$.AssigneeID}}"/>
|
||||||
<div class="ui search action input">
|
|
||||||
<input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus>
|
<input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus>
|
||||||
<button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
|
<button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -67,16 +67,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="column center aligned">
|
<div class="column center aligned">
|
||||||
<form class="ui form ignore-dirty">
|
<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="type" value="{{$.ViewType}}"/>
|
||||||
<input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}}%2C{{end}}]"/>
|
<input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}}%2C{{end}}]"/>
|
||||||
<input type="hidden" name="sort" value="{{$.SortType}}"/>
|
<input type="hidden" name="sort" value="{{$.SortType}}"/>
|
||||||
<input type="hidden" name="state" value="{{$.State}}"/>
|
<input type="hidden" name="state" value="{{$.State}}"/>
|
||||||
<div class="ui search action input">
|
|
||||||
<input name="q" value="{{$.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus>
|
<input name="q" value="{{$.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus>
|
||||||
<button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
|
<button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="column right aligned">
|
<div class="column right aligned">
|
||||||
|
|
Loading…
Reference in a new issue