竖屏改为纵向紧凑列表并消除横向滚动

This commit is contained in:
JSR
2026-03-18 21:20:41 +08:00
parent 040a2ab4b3
commit b64efe8a6c
2 changed files with 51 additions and 16 deletions
+7 -2
View File
@@ -155,7 +155,7 @@ export function ContentArea({
/>
</div>
<Content style={{ flex: 1, overflowY: "auto" }}>
<Content style={{ flex: 1, overflowY: "auto", overflowX: "hidden" }}>
<Suspense
fallback={
<div
@@ -175,7 +175,12 @@ export function ContentArea({
<Routes>
<Route
path="/"
element={<Home canEdit={permission === "admin" || permission === "points"} />}
element={
<Home
canEdit={permission === "admin" || permission === "points"}
isPortraitMode={isPortraitMode}
/>
}
/>
<Route path="/students" element={<StudentManager canEdit={permission === "admin"} />} />
<Route