style: 优化仪表盘外层工作区边框布局使其贴合视口平铺撑满

This commit is contained in:
xuans 2026-10-19 15:00:57 +08:00
parent bca5417227
commit 5d0b45c337

View File

@ -1,11 +1,11 @@
.page-shell { .page-shell {
display: grid; display: grid;
grid-template-rows: auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
gap: 16px; gap: 0;
width: 100%; width: 100%;
max-width: 1600px; max-width: 100%;
height: 100dvh; height: 100dvh;
padding: 24px; padding: 0;
overflow: hidden; overflow: hidden;
} }
@ -56,10 +56,10 @@
grid-template-columns: minmax(0, 1fr) 200px; grid-template-columns: minmax(0, 1fr) 200px;
grid-template-areas: "main submenu"; grid-template-areas: "main submenu";
gap: 0; gap: 0;
border: 1px solid #e2e8f2; border: none;
border-radius: 20px; border-radius: 0;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 30px rgba(31, 50, 87, 0.04); box-shadow: none;
overflow: hidden; overflow: hidden;
min-height: 0; min-height: 0;
} }
@ -72,7 +72,7 @@
overscroll-behavior: contain; overscroll-behavior: contain;
scrollbar-width: none; scrollbar-width: none;
-ms-overflow-style: none; -ms-overflow-style: none;
border-radius: 18px; border-radius: 0;
} }
.dashboard-content::-webkit-scrollbar { .dashboard-content::-webkit-scrollbar {
@ -202,7 +202,7 @@
flex-direction: column; flex-direction: column;
height: auto; height: auto;
min-height: 100dvh; min-height: 100dvh;
padding: 16px; padding: 0;
overflow: visible; overflow: visible;
} }