From f08e762988e4c968a2151495f095d78c069aa75a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 16 Jan 2021 11:12:45 -0500 Subject: [PATCH] Fix background on commit page --- gitsrht/templates/commit.html | 2 +- scss/main.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gitsrht/templates/commit.html b/gitsrht/templates/commit.html index c1beed7..b3af682 100644 --- a/gitsrht/templates/commit.html +++ b/gitsrht/templates/commit.html @@ -36,7 +36,7 @@
-
+
{{diffstat(diff)}}
diff --git a/scss/main.scss b/scss/main.scss index c139f38..4aacbda 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -232,6 +232,10 @@ dt { color: color_adjust_contrast_AERT(darken($danger, 10), white) !important; } + pre { + background: transparent; + } + @media(prefers-color-scheme: dark) { $success-dark: #2bb34b; $danger-dark: #ff3e3e; -- 2.38.4