Improve mobile responsiveness across pages
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
13 files changed
+290
-166
No files matched your search
@@ -1,8 +1,17 @@
|
||||
.products {
|
||||
display: grid;
|
||||
max-width: 1200px;
|
||||
gap: 1rem;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
max-width: 100%;
|
||||
gap: 1.5rem 1rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
|
||||
}
|
||||
|
||||
.productChart {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.chart {
|
||||
width: 100%;
|
||||
height: 360px;
|
||||
}
|
||||
|
||||
.statsNav {
|
||||
@@ -27,3 +36,14 @@
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.statsNav ul {
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.chart {
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user