From e45bc328cca25a56eb5887f0fb9970418f4636b0 Mon Sep 17 00:00:00 2001 From: hamki Date: Fri, 16 Jan 2026 04:51:47 +0800 Subject: [PATCH] fix: reset button default styles for btn-octicon --- templates/repo/view_file.tmpl | 2 +- web_src/css/repo.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index a3703f37d2..721c795617 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -36,7 +36,7 @@
{{if .FileSidebarHTML}} - + {{end}} {{/* this componment is also controlled by frontend plugin renders */}}
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 16fbfaec4a..52af7c03a4 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -169,6 +169,9 @@ td .commit-summary { padding: 8px; vertical-align: middle; color: var(--color-text); + background: none; + border: none; + cursor: pointer; } .non-diff-file-content .header .file-actions .btn-octicon:hover {