Skip to content

Commit 1341743

Browse files
authored
fix: mobile layout (#1024)
* Update globals.css * Update globals.css * Update globals.css
1 parent e213907 commit 1341743

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

apps/web/app/globals.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ html {
5151
color: #000000;
5252
background-color: #f2f2f2;
5353
}
54+
.dashboard-grid {
55+
display: grid;
56+
grid-template-columns: auto 1fr 1fr;
57+
grid-template-areas:
58+
"sidebar main main"
59+
"sidebar main main";
60+
height: 100dvh;
61+
width: 100vw;
62+
min-height: 100dvh;
63+
}
5464

5565
.dashboard-grid {
5666
display: grid;
@@ -304,6 +314,7 @@ a.bg-primary:hover {
304314
@media all and (max-width: 1024px) {
305315
.dashboard-grid {
306316
grid-template-columns: 1fr;
317+
grid-template-rows: 1fr;
307318
grid-template-areas:
308319
"main"
309320
"main";

0 commit comments

Comments
 (0)