Spaces:
Sleeping
Sleeping
Sasha commited on
Commit ·
c2edfc7
1
Parent(s): 3cb06eb
fix: enforce mobile 1-col layout and prevent horizontal blowout
Browse files- client/src/index.css +8 -2
client/src/index.css
CHANGED
|
@@ -80,6 +80,8 @@ body {
|
|
| 80 |
display: flex;
|
| 81 |
flex-direction: column;
|
| 82 |
min-height: 100vh;
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
/* Header */
|
|
@@ -517,8 +519,11 @@ body {
|
|
| 517 |
}
|
| 518 |
|
| 519 |
@media (max-width: 992px) {
|
| 520 |
-
.grid-2col,
|
| 521 |
-
|
|
|
|
|
|
|
|
|
|
| 522 |
}
|
| 523 |
}
|
| 524 |
|
|
@@ -533,6 +538,7 @@ body {
|
|
| 533 |
border: 1px solid var(--color-border);
|
| 534 |
border-radius: var(--radius-lg);
|
| 535 |
padding: 1.5rem;
|
|
|
|
| 536 |
}
|
| 537 |
|
| 538 |
.panel-header {
|
|
|
|
| 80 |
display: flex;
|
| 81 |
flex-direction: column;
|
| 82 |
min-height: 100vh;
|
| 83 |
+
width: 100%;
|
| 84 |
+
overflow-x: hidden;
|
| 85 |
}
|
| 86 |
|
| 87 |
/* Header */
|
|
|
|
| 519 |
}
|
| 520 |
|
| 521 |
@media (max-width: 992px) {
|
| 522 |
+
.grid-2col,
|
| 523 |
+
.grid-4col,
|
| 524 |
+
.grid-equal-2col,
|
| 525 |
+
[style*="grid-template-columns"] {
|
| 526 |
+
grid-template-columns: 1fr !important;
|
| 527 |
}
|
| 528 |
}
|
| 529 |
|
|
|
|
| 538 |
border: 1px solid var(--color-border);
|
| 539 |
border-radius: var(--radius-lg);
|
| 540 |
padding: 1.5rem;
|
| 541 |
+
min-width: 0;
|
| 542 |
}
|
| 543 |
|
| 544 |
.panel-header {
|