diff --git a/web/src/pages/AdminLayout.module.css b/web/src/pages/AdminLayout.module.css index 7e13de2..6477e91 100644 --- a/web/src/pages/AdminLayout.module.css +++ b/web/src/pages/AdminLayout.module.css @@ -1,6 +1,10 @@ .layout { display: flex; + /* fallback for Safari < 17,降级到 vh 行为(包含工具栏可能被遮) */ height: 100vh; + /* Dynamic Viewport Height — 自动减去 Safari 工具栏/书签栏, + 永远等于用户实际看得到的高度,根因解 14寸 Safari 翻页按钮被截 */ + height: 100dvh; overflow: hidden; /* V2: transparent 让全局 AmbientBackground pastel aurora 在主区也能隐约透出 */ background: transparent; @@ -186,7 +190,11 @@ .content { flex: 1; overflow-y: auto; - padding: 24px 32px; + /* ★ 关键:让 flex 子元素正确 shrink + 触发 overflow-y; + 不加这个 flex 子默认 min-height: auto,内容溢出时 overflow-y: auto 形同虚设, + 底部按钮会被外层 .layout overflow:hidden 切掉 */ + min-height: 0; + padding: 24px 32px 32px; transition: margin-left 0.2s ease; } diff --git a/web/src/pages/AuditLogsPage.module.css b/web/src/pages/AuditLogsPage.module.css index f1932cb..aa517fc 100644 --- a/web/src/pages/AuditLogsPage.module.css +++ b/web/src/pages/AuditLogsPage.module.css @@ -43,7 +43,7 @@ .skeletonCell { height: 16px; background: var(--color-border-card); border-radius: 4px; animation: pulse 1.5s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } -.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; } +.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-bottom: 8px; } .pageInfo { color: var(--color-text-secondary); font-size: 13px; } .pageButtons { display: flex; gap: 4px; } .pageButtons button { diff --git a/web/src/pages/LoginRecordsPage.module.css b/web/src/pages/LoginRecordsPage.module.css index aa84b99..2c8b6f3 100644 --- a/web/src/pages/LoginRecordsPage.module.css +++ b/web/src/pages/LoginRecordsPage.module.css @@ -35,7 +35,7 @@ .skeletonCell { height: 16px; background: var(--color-border-card); border-radius: 4px; animation: pulse 1.5s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } -.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; } +.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-bottom: 8px; } .pageInfo { color: var(--color-text-secondary); font-size: 13px; } .pageButtons { display: flex; gap: 4px; } .pageButtons button { diff --git a/web/src/pages/ProfilePage.module.css b/web/src/pages/ProfilePage.module.css index 335624c..3be97f1 100644 --- a/web/src/pages/ProfilePage.module.css +++ b/web/src/pages/ProfilePage.module.css @@ -2,8 +2,12 @@ max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; + /* Safari < 17 fallback */ min-height: 100vh; height: 100vh; + /* Dynamic Viewport Height — 自动减去 Safari 工具栏,根因解 14寸 Safari 翻页/底部按钮被截 */ + min-height: 100dvh; + height: 100dvh; overflow-y: auto; } diff --git a/web/src/pages/RecordsPage.module.css b/web/src/pages/RecordsPage.module.css index a45d9d3..d9670dc 100644 --- a/web/src/pages/RecordsPage.module.css +++ b/web/src/pages/RecordsPage.module.css @@ -57,7 +57,7 @@ .skeletonCell { height: 16px; background: var(--color-border-card); border-radius: 4px; animation: pulse 1.5s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } -.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; } +.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-bottom: 8px; } .pageInfo { color: var(--color-text-secondary); font-size: 13px; } .pageButtons { display: flex; gap: 4px; } .pageButtons button { diff --git a/web/src/pages/UsersPage.module.css b/web/src/pages/UsersPage.module.css index 3074e5c..31817b8 100644 --- a/web/src/pages/UsersPage.module.css +++ b/web/src/pages/UsersPage.module.css @@ -51,7 +51,7 @@ .skeletonCell { height: 16px; background: var(--color-border-card); border-radius: 4px; animation: pulse 1.5s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } -.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; } +.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-bottom: 8px; } .pageInfo { color: var(--color-text-secondary); font-size: 13px; } .pageButtons { display: flex; gap: 4px; } .pageButtons button {