From 370b1bdb3757e91c59303b0ce6ec49c56eca795b 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 --- 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 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 f9b85360e0..3e000660e2 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}}