aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinyu Zhou <its@baronbunny.cn>2022-10-28 21:48:48 +0800
committerGitHub <noreply@github.com>2022-10-28 09:48:48 -0400
commit830f5c3736346da7416ee8f68241dec1f995c899 (patch)
treed3e2f80956e2cf44a55a77b4cca40164ee81b4c0
parent125e3e3d66d117d23e387c083d22a8d90820bb52 (diff)
downloadgitea-830f5c3736346da7416ee8f68241dec1f995c899.tar.gz
gitea-830f5c3736346da7416ee8f68241dec1f995c899.zip
Fix UI column width, button overflow Fomantic's grid (#21559)
resolved #21310 Before: ![](https://user-images.githubusercontent.com/76462613/197395358-78698f7f-776a-4ed1-954e-e6c09a648f2b.png) After: ![](https://user-images.githubusercontent.com/76462613/197395356-63289761-a0d4-47a7-a103-a6e6f4ad2eed.png) Signed-off-by: baronbunny <its@baronbunny.cn> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r--templates/repo/branch/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl
index 09799fbece..2e1878acc8 100644
--- a/templates/repo/branch/list.tmpl
+++ b/templates/repo/branch/list.tmpl
@@ -106,7 +106,7 @@
{{end}}
{{end}}
</td>
- <td class="two wide right aligned overflow-visible">
+ <td class="three wide right aligned overflow-visible">
{{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
<div class="ui basic jump button icon tooltip show-create-branch-modal" data-branch-from="{{.Name}}" data-branch-from-urlcomponent="{{PathEscapeSegments .Name}}" data-content="{{$.locale.Tr "repo.branch.new_branch_from" .Name}}" data-position="top right" data-modal="#create-branch-modal" data-name="{{.Name}}">
{{svg "octicon-git-branch"}}