From 474fc80decfe9af32226056bd5c843dad83544c7 Mon Sep 17 00:00:00 2001 From: whereareiam Date: Sat, 5 Sep 2026 22:27:12 +0200 Subject: [PATCH] fix(code): remove extra collapsed search spacing --- styles/templates/repo/view_content.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/styles/templates/repo/view_content.ts b/styles/templates/repo/view_content.ts index f602f7d9..3b3fc556 100644 --- a/styles/templates/repo/view_content.ts +++ b/styles/templates/repo/view_content.ts @@ -273,6 +273,10 @@ const repoToolbarDetails = css` margin: 12px 0 8px; } + .gitea-github-theme-templates.repo-button-row .repo-code-body > .repo-code-search:not([open]) + hr { + margin-top: 0; + } + .gitea-github-theme-templates.repo-button-row .repo-code-actions { list-style: none; margin: 8px;