[MOBILE] Адаптив для «Моё» и комбайна: viewport, одна колонка, скролл вкладок и таблиц, поля 16px. Ловушка f-string задокументирована
lint / hygiene (push) Failing after 21s
lint / hygiene (push) Failing after 21s
This commit is contained in:
1 parent
e1702ec674
commit
aee8aed889
6 files changed
+158
No files matched your search
@@ -2,6 +2,7 @@
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Комбайн</title>
|
||||
<style>
|
||||
:root{--bg:#0d1117;--panel:#161b22;--panel2:#1c232c;--line:#30363d;--txt:#e6edf3;--dim:#8b949e;--acc:#2f81f7;--ok:#3fb950;--bad:#f85149;--warn:#d29922}
|
||||
@@ -50,6 +51,32 @@ svg{width:100%;height:520px;background:#0a0e13;border:1px solid var(--line);bord
|
||||
.pitem .sp{font-size:11px;color:var(--dim)}
|
||||
.chk{display:flex;gap:8px;padding:5px 0;font-size:12px;align-items:flex-start}
|
||||
.chk i{font-style:normal}
|
||||
|
||||
/* ── мобильный адаптив ── */
|
||||
@media (max-width: 860px) {
|
||||
body { padding: 10px; }
|
||||
header { flex-wrap: wrap; gap: 8px; }
|
||||
#tabs, .tabs {
|
||||
display: flex; overflow-x: auto; flex-wrap: nowrap;
|
||||
-webkit-overflow-scrolling: touch; scrollbar-width: thin;
|
||||
}
|
||||
#tabs .tab, .tabs .tab, .tab {
|
||||
flex: 0 0 auto; padding: 9px 13px; font-size: 13.5px; white-space: nowrap;
|
||||
}
|
||||
.grid, .row, .cols { grid-template-columns: 1fr !important; }
|
||||
.card { padding: 12px; }
|
||||
table { display: block; overflow-x: auto; white-space: nowrap; }
|
||||
input, select, textarea, button { font-size: 16px; } /* без зума в iOS */
|
||||
button, .btn { min-height: 40px; }
|
||||
.col, .col2 { width: 100% !important; float: none !important; }
|
||||
h2, h3 { font-size: 16px; }
|
||||
#host, #direction, #vendor { width: 100%; max-width: none; }
|
||||
}
|
||||
@media (max-width: 520px) {
|
||||
.tab { padding: 8px 10px; font-size: 13px; }
|
||||
table { font-size: 12.5px; }
|
||||
.card { padding: 10px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user