From 3d093a61099f158546a09892c27224d88326b15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 22 Oct 2026 09:18:51 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20the=20repo=20tab=20strip?= =?UTF-8?q?=20runs=20to=20the=20screen=20edge=20on=20phones=20and=20scroll?= =?UTF-8?q?s=20inside=20itself?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/main.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) 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;