Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 618c394

Browse files
Added mobile support for Trac.
1 parent 7d7f39e commit 618c394

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

‎scss/trachacks.scss‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,3 +437,25 @@ div[role="main"]{
437437
}
438438
}
439439
}
440+
441+
/* Mobile */
442+
443+
@media (max-width: 767px) {
444+
#metanav {
445+
ul {
446+
li {
447+
padding: 1em 0.5em !important;
448+
}
449+
}
450+
}
451+
452+
#filters {
453+
min-width: inherit;
454+
overflow: scroll;
455+
}
456+
457+
div:has(.listing.tickets) {
458+
min-width: inherit;
459+
overflow: scroll;
460+
}
461+
}

‎trac-env/templates/site_head.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<meta name="viewport" content="width=device-width, initial-scale=1" />
12
<link rel="stylesheet" href="${href.chrome('site/css/output.css')}" />
23
<link rel="stylesheet" href="${href.chrome('site/css/trachacks.css')}" />
34
<!--! uncomment for local version of webfont loader if desired. -->

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /