From e6eca17053c95c491b6863cff3f59c1b3735a2b7 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 22:31:29 +0800 Subject: [PATCH] style.css: Fix file content background --- static/style.css | 7 +++++-- diff --git a/static/style.css b/static/style.css index 20177275c29884df54665dc32795b7bfc1821879..bd724036d0bba6532526004fb8fcd0e0b0ab4ef2 100644 --- a/static/style.css +++ b/static/style.css @@ -143,8 +143,11 @@ .toggle-on-header { cursor: pointer; display: block; width: 100%; - border-bottom: var(--lighter-border-color) solid 1px; background-color: var(--lighter-box-background-color); +} +.toggle-on-header > span { + padding: 3px 5px; + display: inline-block; } .toggle-on-content { display: none; @@ -155,7 +158,7 @@ } .file-patch + .file-patch { margin-top: 0.5rem; } -.file-content, .file-header { +.file-content { padding: 3px 5px; } .file-header { -- 2.48.1