Fix home topic edit form layout (#30213)
The UI has been refactored by #30191 , so here are 2 choices: 1. Backport #30191 2. Apply this quick fix Before: <details>  </details> After: <details>  </details> Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit e579ddc31f6d6d0406f1c5330f2a31b9707fb3e2)
This commit is contained in:
parent
89a748b368
commit
704df1ff28
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
|
||||
<div class="ui form tw-hidden tw-flex tw-flex-col tw-mt-4" id="topic_edit">
|
||||
<div class="ui form tw-hidden tw-flex tw-gap-2 tw-mt-4" id="topic_edit">
|
||||
<div class="field tw-flex-1 tw-mb-1">
|
||||
<div class="ui fluid multiple search selection dropdown tw-flex-wrap" data-text-count-prompt="{{ctx.Locale.Tr "repo.topic.count_prompt"}}" data-text-format-prompt="{{ctx.Locale.Tr "repo.topic.format_prompt"}}">
|
||||
<input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if Eval $i "+" 1 "<" (len $.Topics)}},{{end}}{{end}}">
|
||||
|
|
Loading…
Reference in New Issue