From 998412ae5394091b067d04788c4abdc04f9cb209 Mon Sep 17 00:00:00 2001 From: baronbunny Date: Sun, 23 Oct 2022 17:32:05 +0800 Subject: [PATCH] UI: Fix delete branch button overflow the box Close issue: https://github.com/go-gitea/gitea/issues/21310 Signed-off-by: baronbunny --- templates/repo/branch/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 09799fbece577..2e1878acc81cf 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -106,7 +106,7 @@ {{end}} {{end}} - + {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
{{svg "octicon-git-branch"}}