fix: таблицы — overflow-x:auto только на мобилке (max-width:768px)

This commit is contained in:
Marker689
2026-05-10 11:13:36 +03:00
parent 1341404568
commit 53bb095f83
2 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View File

@@ -13,3 +13,6 @@ data/
venv/ venv/
.agents/ .agents/
skills-lock.json skills-lock.json
.playwright-mcp/
dashboard-*.png
scans-*.png

View File

@@ -35,11 +35,15 @@
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* Tables */ /* Tables */
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
table { font-size: 0.9rem; display: block; overflow-x: auto; } table { font-size: 0.9rem; }
table.compact { font-size: 0.82rem; } table.compact { font-size: 0.82rem; }
table.compact th, table.compact th,
table.compact td { padding: 0.35rem 0.5rem; } table.compact td { padding: 0.35rem 0.5rem; }
@media (max-width: 768px) {
table { display: block; overflow-x: auto; white-space: nowrap; }
}
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* Scan info block (detail page) */ /* Scan info block (detail page) */
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
@@ -263,8 +267,6 @@ th.sortable.active .sort-icon { opacity: 1; }
.scan-info-grid { grid-template-columns: 1fr 1fr; } .scan-info-grid { grid-template-columns: 1fr 1fr; }
.filter-bar { flex-direction: column; align-items: stretch; } .filter-bar { flex-direction: column; align-items: stretch; }
nav ul { flex-wrap: wrap; } nav ul { flex-wrap: wrap; }
table, table.compact { font-size: 0.78rem; }
th, td { padding: 0.3rem 0.4rem; }
} }
@media (max-width: 480px) { @media (max-width: 480px) {