diff --git a/style/main.scss b/style/main.scss index e3fa479..9c82479 100644 --- a/style/main.scss +++ b/style/main.scss @@ -1018,6 +1018,17 @@ code { } } +// Below the sidebar breakpoint the strip runs to the screen edges and scrolls inside itself. The +// first tab still starts on the 16px gutter, and the page never scrolls sideways. +@media (max-width: 899px) { + .repo-tabs { + margin-left: -16px; + margin-right: -16px; + padding: 0 16px; + scroll-padding: 0 16px; + } +} + .tab { padding: 8px 12px; margin-bottom: 0;