Full-width repository pages
Stretches repository and pull request content to the full window width so code and diffs are not cramped in the middle.
Code to copy
.container-xl,
.container-lg,
[class*="Layout-module__"][class*="Container"],
.repository-content {
max-width: 100% !important;
padding-left: 24px !important;
padding-right: 24px !important;
}
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.