Mobile responsive fix
This commit is contained in:
parent
42d30b4f4b
commit
596843ef92
13
index.html
13
index.html
|
|
@ -76,8 +76,19 @@
|
|||
.insight strong { color: var(--blue); }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.kpi-row { grid-template-columns: repeat(2, 1fr); }
|
||||
body { padding: 12px; }
|
||||
.kpi-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
|
||||
.kpi { padding: 14px; }
|
||||
.kpi-value { font-size: 22px; }
|
||||
.chart-row { grid-template-columns: 1fr; }
|
||||
.chart-box { height: 220px; }
|
||||
.section-header { padding: 14px 16px; }
|
||||
.section-header h2 { font-size: 17px; }
|
||||
.section-hint { font-size: 13px; }
|
||||
.section-body { padding: 0 14px 14px; }
|
||||
table { font-size: 11px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
|
||||
th, td { padding: 6px 8px; }
|
||||
.insight { font-size: 12px; padding: 12px 14px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Reference in New Issue