From 642e8c1122d40fd260f31cb9e2e2ee32c777aed5 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 24 Jan 2025 18:35:28 +0100 Subject: [PATCH] Repo homepage styling tweaks (#33289) Reduce it to a value that results in `.repo-home-sidebar-top` and `.repo-home-sidebar-bottom` having 240px content width, the same as GitHub. Before: Screenshot 2025-01-15 at 18 28 34 After: Screenshot 2025-01-15 at 18 28 27 --- templates/repo/home_sidebar_top.tmpl | 2 +- templates/repo/sub_menu.tmpl | 2 +- web_src/css/repo/home.css | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/repo/home_sidebar_top.tmpl b/templates/repo/home_sidebar_top.tmpl index d7c2b8336f..8d3d7c6f86 100644 --- a/templates/repo/home_sidebar_top.tmpl +++ b/templates/repo/home_sidebar_top.tmpl @@ -1,5 +1,5 @@
-
+
{{template "shared/search/button"}}
diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl index 3533bfed0b..66ab86cb55 100644 --- a/templates/repo/sub_menu.tmpl +++ b/templates/repo/sub_menu.tmpl @@ -1,5 +1,5 @@ {{if and (not .HideRepoInfo) (not .IsBlame)}} -