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

View File

@@ -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) {