support desktop mode

This commit is contained in:
Jack committed 2026-06-09 11:18:14 +08:00
1 parent 73525899e7
commit 7ea529eb1f
7 files changed
+107 -5

No files matched your search

+19 -3
View File
@@ -52,17 +52,22 @@ body {
#root {
width: 100%;
max-width: 480px; /* Mobile App feel */
margin: 0 auto;
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
background-color: var(--bg-primary);
box-shadow: 0 0 20px rgba(0,0,0,0.5);
box-shadow: none;
overflow-x: hidden;
}
@media (min-width: 768px) {
#root {
flex-direction: row;
}
}
/* Utilities */
.glass-card {
background: var(--glass-bg);
@@ -160,9 +165,20 @@ input, select, button {
/* Page Container */
.page-container {
padding: 24px;
padding-bottom: 90px; /* Space for bottom nav */
padding-bottom: 90px; /* Space for bottom nav on mobile */
flex: 1;
overflow-y: auto;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
@media (min-width: 768px) {
.page-container {
padding: 40px;
padding-left: 120px; /* Space for sidebar */
padding-bottom: 40px;
}
}
/* Typography */