0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-10 01:01:28 +02:00

Update web_src/css/repo/home.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: hamkido <hamki.do2000@gmail.com>
This commit is contained in:
hamkido 2026-01-26 17:18:10 +08:00 committed by GitHub
parent 745aceef9b
commit 860afc51d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}
}