summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-09 18:39:47 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-09 18:39:47 +0100
commit8a45281801ade7524dbdee423c28b326051719de (patch)
treec875acf755fb54da6a325ca3841a8e693d805f09 /assets
parent599da59a269932b29491956a75b4ac35e78c76c8 (diff)
view: Wrap contents of diff lines with pre.
Fixes <https://issues.guix.gnu.org/43166>.
Diffstat (limited to 'assets')
-rw-r--r--assets/css/screen.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css
index f493990..e4dcc10 100644
--- a/assets/css/screen.css
+++ b/assets/css/screen.css
@@ -377,6 +377,13 @@ details {
}
/* diff styles */
+div.line pre {
+ margin: 0;
+ font-family: inherit;
+ font-size: inherit;
+ color: inherit;
+}
+
.message .diff div.line.diff.file {
color: #005cc5;
}