diff options
author | luk3yx <luk3yx@users.noreply.github.com> | 2025-02-20 17:26:15 +1300 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-05 11:32:46 +0800 |
commit | 80d6dddf6a3368837b8c8ece7dc2644916378234 (patch) | |
tree | 5c3e524e122a41ea41e446439ce222791c54363e | |
parent | css: Fix copyright lines (diff) | |
download | forge-80d6dddf6a3368837b8c8ece7dc2644916378234.tar.gz forge-80d6dddf6a3368837b8c8ece7dc2644916378234.tar.zst forge-80d6dddf6a3368837b8c8ece7dc2644916378234.zip |
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.
-rw-r--r-- | static/style.css | 14 |
1 files changed, 14 insertions, 0 deletions
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 */ |