From f4d7647c5810dac29255201a420d705da2f9c9f2 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Thu, 29 Jan 2026 20:40:45 +0100 Subject: cgit: css: fit table tabs --- config/services/git/web/cgit.css | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'config/services/git/web') diff --git a/config/services/git/web/cgit.css b/config/services/git/web/cgit.css index 4d72335..633fead 100644 --- a/config/services/git/web/cgit.css +++ b/config/services/git/web/cgit.css @@ -897,31 +897,22 @@ div#cgit table.ssdiff td.space div { } @media only screen and (max-width: 800px) { + /* FORMS */ + /* hide forms */ + div#cgit td.form { + display: none; + } + /* HEADER */ /* wrap title text */ div#cgit table#header td.main { white-space: normal; } - /* hide branch switcher */ - div#cgit table#header td.form { - display: none; - } /* Don't display author (save space) */ div#cgit table#header td.sub.right { display: none; } - /* TABS */ - /* both tabs and form are blocks */ - div#cgit table.tabs td { - display: block; - } - /* every tab is block */ - div#cgit table.tabs td a { - display: block; - text-align: right; - } - /* CONTENT */ div#cgit div.content { overflow-x: auto; -- cgit v1.2.3