From 8f95dce3ece6eccf240ed0b994fb267bf390bf30 Mon Sep 17 00:00:00 2001 From: Saya Andy Date: Mon, 7 Sep 2026 14:07:24 +0700 Subject: diff: split refs and other options into separate panels The diff controls panel mixed the from/to ref pickers with the rendering options (context, space, mode). Split it into two panels, stacked vertically: one for the refs and one for the other options, so each groups related controls. --- cgit.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cgit.css') diff --git a/cgit.css b/cgit.css index e52d424..7892eca 100644 --- a/cgit.css +++ b/cgit.css @@ -478,6 +478,14 @@ div#cgit div.cgit-panel { margin-top: 1.5em; } +div#cgit form.diff-ctrls div.cgit-panel { + float: none; +} + +div#cgit form.diff-ctrls { + float: right; +} + div#cgit div.cgit-panel table { border-collapse: collapse; border: solid 1px var(--border-mid); -- cgit v1.3.1+14