fix: 修复 Web 预览宽度及底部操作栏对齐

This commit is contained in:
que01 committed 2026-10-08 15:35:06 +08:00
1 parent 7e8fc01fba
commit e5a1a60eee
3 files changed
+52 -7

No files matched your search

+13 -7
View File
@@ -35,21 +35,27 @@ image {
border-bottom: 1px solid #eee;
font-size: 22px;
}
@media (min-width: 600px) {
/* postcss-pxtransform disable */
@media (min-width: 430px) {
html {
font-size: 22.933333px !important;
background: #e7e5e4;
}
body {
max-width: 430px;
margin: 0 auto;
background: #e7e5e4;
}
#app {
min-height: 100vh;
background: #fafaf9;
}
}
/* postcss-pxtransform disable */
@media (min-width: 600px) {
html {
font-size: 22.933333px !important;
.taro-tabbar__tabbar,
.food-detail .bar,
.editorial-detail .bar {
width: 430px;
left: 50%;
right: auto;
transform: translateX(-50%);
}
}
/* postcss-pxtransform enable */