aboutsummaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 22:31:29 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 22:31:29 +0800
commite6eca17053c95c491b6863cff3f59c1b3735a2b7 (patch)
tree88ef8049027848510698690204e008743c880372 /static/style.css
parentrepo_commit: Redirect faulty URLs (diff)
downloadforge-e6eca17053c95c491b6863cff3f59c1b3735a2b7.tar.gz
forge-e6eca17053c95c491b6863cff3f59c1b3735a2b7.tar.zst
forge-e6eca17053c95c491b6863cff3f59c1b3735a2b7.zip
style.css: Fix file content background
Diffstat (limited to '')
-rw-r--r--static/style.css7
1 files changed, 5 insertions, 2 deletions
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 {