From 30e5ef422864f4b273ead08f22196ac9aa3d090f Mon Sep 17 00:00:00 2001 From: Vu Linh Truong <100839472+vulinh1704@users.noreply.github.com> Date: Wed, 28 Oct 2026 15:49:17 +0700 Subject: [PATCH] fix(ui): org worktime page overflows the screen on mobile (#40033) Co-authored-by: wxiaoguang --- templates/org/worktime.tmpl | 14 ++++++-------- templates/org/worktime/table_members.tmpl | 2 +- templates/org/worktime/table_milestones.tmpl | 4 ++-- templates/org/worktime/table_repos.tmpl | 2 +- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/templates/org/worktime.tmpl b/templates/org/worktime.tmpl index bbe617bb65e..ce20e8e1948 100644 --- a/templates/org/worktime.tmpl +++ b/templates/org/worktime.tmpl @@ -2,7 +2,7 @@
{{template "org/header" .}}
-
+
@@ -18,13 +18,11 @@
-
- + {{if .WorktimeByRepos}} {{template "org/worktime/table_repos" dict "Org" .Org "WorktimeSumResult" .WorktimeSumResult}} diff --git a/templates/org/worktime/table_members.tmpl b/templates/org/worktime/table_members.tmpl index d2721d40854..be8c81af6e7 100644 --- a/templates/org/worktime/table_members.tmpl +++ b/templates/org/worktime/table_members.tmpl @@ -8,7 +8,7 @@ {{range $.WorktimeSumResult}} - {{svg "octicon-person"}} {{.UserName}} + {{svg "octicon-person"}} {{.UserName}} {{svg "octicon-clock"}} {{.SumTime | Sec2Hour}} {{else}} diff --git a/templates/org/worktime/table_milestones.tmpl b/templates/org/worktime/table_milestones.tmpl index 3421198b355..b03155242f8 100644 --- a/templates/org/worktime/table_milestones.tmpl +++ b/templates/org/worktime/table_milestones.tmpl @@ -9,12 +9,12 @@ {{range $.WorktimeSumResult}} - + {{if not .HideRepoName}} {{svg "octicon-repo"}} {{.RepoName}} {{end}} - + {{if .MilestoneName}} {{svg "octicon-milestone"}} {{.MilestoneName}} {{else}} diff --git a/templates/org/worktime/table_repos.tmpl b/templates/org/worktime/table_repos.tmpl index 8c62646676d..32afaff7a36 100644 --- a/templates/org/worktime/table_repos.tmpl +++ b/templates/org/worktime/table_repos.tmpl @@ -8,7 +8,7 @@ {{range $.WorktimeSumResult}} - {{svg "octicon-repo"}} {{.RepoName}} + {{svg "octicon-repo"}} {{.RepoName}} {{svg "octicon-clock"}} {{.SumTime | Sec2Hour}} {{else}}