diff options
| author | Alexander Leonhardt <equinox.salexander@gmail.com> | |
|---|---|---|
| 2026-08-16 13:12:51 +0200 | ||
| committer | Alexander Leonhardt <equinox.salexander@gmail.com> | |
| 2026-08-16 13:12:51 +0200 | ||
| commit | 73466f1c66f918e5ce285172c69bd682ae25f78b (patch) | |
| tree | 4d078450b8597c9787a4ccec22714b6adaa5856f /cgit.css | |
| parent | 21601449d12ce20f9a72836995150eba772eb58b (diff) | |
| download | cgit-73466f1c66f918e5ce285172c69bd682ae25f78b.tar.gz cgit-73466f1c66f918e5ce285172c69bd682ae25f78b.tar.bz2 cgit-73466f1c66f918e5ce285172c69bd682ae25f78b.zip | |
fix: Fixed code and linenumbers not lining up for code on safari. Also added minor fixes to improve the scrolling experience on mobile phones.
@@ -77,6 +77,7 @@ div#cgit table#header td.subem { color: #777; padding-top: 1em; padding-right: 10px; + font-size: 80%; text-align: right; } div#cgit table#header td.sub { @@ -400,6 +401,7 @@ div#cgit table.blob { margin-top: 0.5em; border-top: solid 1px #777; overflow-x: scroll; + overflow-y: hidden; display: block; } @@ -408,6 +410,7 @@ div#cgit table.blob td.lines { margin: 0; padding: 0 0 0 0.5em; vertical-align: top; color: #eee; + -webkit-text-size-adjust: 100%; } div#cgit table.blob td.linenumbers { @@ -588,6 +591,7 @@ div#cgit table.diffstat { display: block; width: 100%; overflow-x: scroll; + overflow-y: hidden; border-collapse: collapse; border: solid 1px #aaa; background-color: #333; |