Commit 9115793c by krds-arun

fix(panel): improve module dashboards on small mobile

Switch KPI grids to 1-column and tighten spacing below 420px to prevent cramped layouts and overflow on small devices.

Made-with: Cursor
parent 99552c8c
...@@ -103,6 +103,17 @@ ...@@ -103,6 +103,17 @@
} }
} }
@media (max-width: 420px) {
.maf-auditDash__kpis {
grid-template-columns: 1fr;
gap: 10px;
}
.maf-auditDash__grid {
gap: 10px;
}
}
@media (max-width: 620px) { @media (max-width: 620px) {
.maf-auditDash__thead { .maf-auditDash__thead {
display: none; display: none;
......
...@@ -103,6 +103,17 @@ ...@@ -103,6 +103,17 @@
} }
} }
@media (max-width: 420px) {
.maf-checkDash__kpis {
grid-template-columns: 1fr;
gap: 10px;
}
.maf-checkDash__grid {
gap: 10px;
}
}
@media (max-width: 620px) { @media (max-width: 620px) {
.maf-checkDash__thead { .maf-checkDash__thead {
display: none; display: none;
......
...@@ -88,6 +88,17 @@ ...@@ -88,6 +88,17 @@
} }
} }
@media (max-width: 420px) {
.maf-modDash__kpis {
grid-template-columns: 1fr;
gap: 10px;
}
.maf-modDash__grid {
gap: 10px;
}
}
@media (max-width: 520px) { @media (max-width: 520px) {
.maf-modDash { .maf-modDash {
padding: 0.9rem 0.65rem 1.1rem; padding: 0.9rem 0.65rem 1.1rem;
......
...@@ -103,6 +103,17 @@ ...@@ -103,6 +103,17 @@
} }
} }
@media (max-width: 420px) {
.maf-inspDash__kpis {
grid-template-columns: 1fr;
gap: 10px;
}
.maf-inspDash__grid {
gap: 10px;
}
}
@media (max-width: 620px) { @media (max-width: 620px) {
.maf-inspDash__thead { .maf-inspDash__thead {
display: none; display: none;
......
...@@ -103,6 +103,17 @@ ...@@ -103,6 +103,17 @@
} }
} }
@media (max-width: 420px) {
.maf-permitDash__kpis {
grid-template-columns: 1fr;
gap: 10px;
}
.maf-permitDash__grid {
gap: 10px;
}
}
@media (max-width: 520px) { @media (max-width: 520px) {
.maf-permitDash { .maf-permitDash {
padding: 0.9rem 0.65rem 1.1rem; padding: 0.9rem 0.65rem 1.1rem;
......
...@@ -107,6 +107,17 @@ ...@@ -107,6 +107,17 @@
} }
} }
@media (max-width: 420px) {
.maf-suggestDash__kpis {
grid-template-columns: 1fr;
gap: 10px;
}
.maf-suggestDash__grid {
gap: 10px;
}
}
@media (max-width: 520px) { @media (max-width: 520px) {
.maf-suggestDash { .maf-suggestDash {
padding: 0.9rem 0.65rem 1.1rem; padding: 0.9rem 0.65rem 1.1rem;
......
...@@ -103,6 +103,17 @@ ...@@ -103,6 +103,17 @@
} }
} }
@media (max-width: 420px) {
.maf-trackDash__kpis {
grid-template-columns: 1fr;
gap: 10px;
}
.maf-trackDash__grid {
gap: 10px;
}
}
@media (max-width: 520px) { @media (max-width: 520px) {
.maf-trackDash { .maf-trackDash {
padding: 0.9rem 0.65rem 1.1rem; padding: 0.9rem 0.65rem 1.1rem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment