From 80d6dddf6a3368837b8c8ece7dc2644916378234 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Thu, 20 Feb 2025 17:26:15 +1300 Subject: [PATCH] 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 ++++++++++++++ diff --git a/static/style.css b/static/style.css index 089fbc19e93b6aec54c0238307cfcba79685dc81..1d796400074f8b32c8d558c481173e9324c33bb4 100644 --- a/static/style.css +++ b/static/style.css @@ -231,6 +231,20 @@ padding: 3px 5px; } .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 */ -- 2.48.1