修复:将前端宽屏布局改为响应式

This commit is contained in:
xiaowang
2026-03-24 09:59:52 +08:00
parent 5302af0c1a
commit c041c754cb
13 changed files with 170 additions and 92 deletions
+6 -4
View File
@@ -113,9 +113,9 @@ const handleNavClick = (tab: string) => {
.bottom-nav {
position: fixed;
bottom: 0;
left: 50%;
right: auto;
width: min(100%, var(--frontend-page-max-width));
left: 0;
right: 0;
width: 100%;
height: 60px;
background: white;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
@@ -126,7 +126,7 @@ const handleNavClick = (tab: string) => {
overflow: hidden;
backface-visibility: hidden;
will-change: transform;
transform: translateX(-50%) translateZ(0);
transform: translateZ(0);
transition: none !important;
}
@@ -136,6 +136,8 @@ const handleNavClick = (tab: string) => {
align-items: center;
height: 100%;
width: 100%;
max-width: 560px;
margin: 0 auto;
padding: 0 10px;
transition: none !important;
}