From 39faa125d58a06e258673dfe4e1e949b7c714ec1 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 23 Apr 2024 06:17:51 +0200 Subject: [PATCH] Fix project name wrapping, remove horizontal margin on header (#30631) 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 (cherry picked from commit 370b1bdb3757e91c59303b0ce6ec49c56eca795b) --- templates/projects/list.tmpl | 4 ++-- templates/projects/view.tmpl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl index 0908f5648..b892cff99 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 f9b85360e..3e000660e 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -1,8 +1,8 @@ {{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}} -
    -
    -

    {{.Project.Title}}

    +
    +
    +

    {{.Project.Title}}

    {{if $canWriteProject}}