fix: таблицы — overflow-x:auto только на мобилке (max-width:768px)
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -13,3 +13,6 @@ data/
|
||||
venv/
|
||||
.agents/
|
||||
skills-lock.json
|
||||
.playwright-mcp/
|
||||
dashboard-*.png
|
||||
scans-*.png
|
||||
|
||||
@@ -35,11 +35,15 @@
|
||||
/* ------------------------------------------------------------------ */
|
||||
/* Tables */
|
||||
/* ------------------------------------------------------------------ */
|
||||
table { font-size: 0.9rem; display: block; overflow-x: auto; }
|
||||
table { font-size: 0.9rem; }
|
||||
table.compact { font-size: 0.82rem; }
|
||||
table.compact th,
|
||||
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) */
|
||||
/* ------------------------------------------------------------------ */
|
||||
@@ -263,8 +267,6 @@ th.sortable.active .sort-icon { opacity: 1; }
|
||||
.scan-info-grid { grid-template-columns: 1fr 1fr; }
|
||||
.filter-bar { flex-direction: column; align-items: stretch; }
|
||||
nav ul { flex-wrap: wrap; }
|
||||
table, table.compact { font-size: 0.78rem; }
|
||||
th, td { padding: 0.3rem 0.4rem; }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
||||
Reference in New Issue
Block a user