From 860afc51d3bd7f6767fc9b29e8bc01b71b9f5e0b Mon Sep 17 00:00:00 2001 From: hamkido Date: Mon, 26 Jan 2026 17:18:10 +0800 Subject: [PATCH] Update web_src/css/repo/home.css Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: hamkido --- web_src/css/repo/home.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/web_src/css/repo/home.css b/web_src/css/repo/home.css index 103df1644f..086a6fcf3b 100644 --- a/web_src/css/repo/home.css +++ b/web_src/css/repo/home.css @@ -217,3 +217,16 @@ margin-right: 0; } } + +/* Adjust sidebar layout on tablet-sized screens to prevent layout issues */ +@media (min-width: 769px) and (max-width: 1024px) { + /* Slightly reduce sidebar width in the grid layout */ + .repo-grid-filelist-sidebar { + grid-template-columns: auto 220px; + } + + /* Match reserved content margin to the narrower sidebar */ + .repo-view-content.sidebar-visible { + margin-right: 220px; + } +}