summaryrefslogtreecommitdiff
path: root/config/services/git/web
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2026-01-29 20:40:45 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2026-01-29 20:54:56 +0100
commitf4d7647c5810dac29255201a420d705da2f9c9f2 (patch)
treeb7b7d7d72ad4a24e6684da73ec81479d69e29771 /config/services/git/web
parentf6431afec9f4f3bc896d67dacc6a5cfb56940f50 (diff)
cgit: css: fit table tabs
Diffstat (limited to 'config/services/git/web')
-rw-r--r--config/services/git/web/cgit.css21
1 files changed, 6 insertions, 15 deletions
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;