Skip to content

Commit e579ddc

Browse files
wxiaoguangGiteaBot
andauthored
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> ![image](https://github.com/go-gitea/gitea/assets/2114189/0db583cf-8ce8-4fdb-9e4d-8c93fe6766c7) </details> After: <details> ![image](https://github.com/go-gitea/gitea/assets/2114189/0e732c4c-d28d-4c04-b328-72b9efd7daa9) </details> Co-authored-by: Giteabot <[email protected]>
1 parent bf22be9 commit e579ddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</div>
2525
{{end}}
2626
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
27-
<div class="ui form tw-hidden tw-flex tw-flex-col tw-mt-4" id="topic_edit">
27+
<div class="ui form tw-hidden tw-flex tw-gap-2 tw-mt-4" id="topic_edit">
2828
<div class="field tw-flex-1 tw-mb-1">
2929
<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"}}">
3030
<input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if Eval $i "+" 1 "<" (len $.Topics)}},{{end}}{{end}}">

0 commit comments

Comments
 (0)