From e6eca17053c95c491b6863cff3f59c1b3735a2b7 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 22:31:29 +0800 Subject: style.css: Fix file content background --- static/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 2017727..bd72403 100644 --- a/static/style.css +++ b/static/style.css @@ -143,9 +143,12 @@ pre.chunk { 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 @@ pre.chunk { .file-patch + .file-patch { margin-top: 0.5rem; } -.file-content, .file-header { +.file-content { padding: 3px 5px; } .file-header { -- cgit v1.2.3