From b45b87988bd0e8ad9e3d987a6c08d2ba419cda98 Mon Sep 17 00:00:00 2001 From: Gusted Date: Sat, 12 Aug 2023 15:31:37 +0200 Subject: [PATCH] [GITEA] Wrap branch information in PR list - On mobile there's not a lot of horizontal space, so sometimes information such as icons has to be removed or information gets wrapped in order to not result in overflowing or weird UI behavior. - On mobile visiting the pull requests list of an repository, it shows which head branch is merging into which base branch. This wasn't properly made responsive and with sufficient long branch names (such as those used in the Forgejo repository) it resulted in weird UI behavior. - This patch fixes that by allowing it to wrap, such as the behavior in 1.21 - This already has been fixed in 1.21 with b9baed2c74286710481886c5d1f3010e43840012. --- templates/shared/issuelist.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index 6d61b9fa99..c4b2c92f11 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -41,7 +41,7 @@ {{$.locale.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}} {{end}} {{if .IsPull}} -
+