From 80d6dddf6a3368837b8c8ece7dc2644916378234 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Thu, 20 Feb 2025 17:26:15 +1300 Subject: css: Add arrow to diffs in commit view This makes it clearer that they can be clicked on. I'm only really doing this because I wanted to try out the merge request thing, feel free to reject it if you don't want it. --- static/style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'static') diff --git a/static/style.css b/static/style.css index 089fbc1..1d79640 100644 --- a/static/style.css +++ b/static/style.css @@ -231,6 +231,20 @@ pre.chunk { } .file-header { font-family: monospace; + display: flex; + flex-direction: row; + align-items: center; +} +.file-header::after { + content: "\25b6"; + font-family: sans-serif; + margin-left: auto; + font-size: 1.75em; + line-height: 100%; + margin-right: 0.25em; +} +.file-toggle:checked + .file-header::after { + content: "\25bc"; } /* Form elements */ -- cgit v1.2.3