From 2be724c85dc1bffecc0ca021eb2970024ce07128 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 23 Apr 2024 18:48:36 +0800 Subject: [PATCH] Fix project name wrapping, remove horizontal margin on header (#30631) (#30654) Backport #30631 by @silverwind Enable wrapping of unbroken lines: Screenshot 2024-04-22 at 00 31 33 Remove extra margin added by nested `.ui.container` on certain viewports: Before: Screenshot 2024-04-22 at 00 40 23 After: Screenshot 2024-04-22 at 00 40 33 --------- Co-authored-by: silverwind --- templates/projects/list.tmpl | 4 ++-- templates/projects/view.tmpl | 6 +++--- web_src/css/helpers.css | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl index ec02e9a6fc..b2f48fe2c9 100644 --- a/templates/projects/list.tmpl +++ b/templates/projects/list.tmpl @@ -41,9 +41,9 @@
{{range .Projects}}
  • -

    +

    {{svg .IconName 16}} - {{.Title}} + {{.Title}}

    diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index 0944ba900d..861c7ef5a9 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -1,8 +1,8 @@ {{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}} -