From 39f8ab591c18a65cf783ecd17ddc1a5914ceff7a Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 18 Feb 2024 15:51:21 +0100 Subject: [PATCH] Clean up diff header css and reduce global textarea min-height (#29232) 1. Tweak diff header and remove a numbe of unneeded CSS for it: Before: Screenshot 2024-02-18 at 01 08 09 After: Screenshot 2024-02-18 at 01 07 56 3. Reduce height of review textarea and also reduce fomantic's CSS from 12em to 8em. Now fits better on my screen: image --------- Co-authored-by: delvh --- templates/repo/commit_page.tmpl | 2 +- templates/repo/diff/box.tmpl | 2 +- web_src/css/base.css | 6 ++++++ web_src/css/editor/combomarkdowneditor.css | 5 ++--- web_src/css/repo.css | 18 +----------------- 5 files changed, 11 insertions(+), 22 deletions(-) diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index ce9fcecd8b..fbfaa19411 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -184,7 +184,7 @@ {{if .Commit.Signature}} -
+
{{if .Verification.Verified}} {{if ne .Verification.SigningUser.ID 0}} diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index be7c7e80f2..5960decc06 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -1,7 +1,7 @@ {{$showFileTree := (and (not .DiffNotAvailable) (gt .Diff.NumFiles 1))}}
-
+
{{if $showFileTree}}