fix(usage): 记录页去掉底部 Tab 栏预留,修复底部空白过多

二级页无底部 Tab 栏,padding-bottom 不再加 --tabbar-h(104rpx),只保留安全区。
This commit is contained in:
tongtong committed 2026-12-03 01:28:45 +08:00
1 parent b0b44abd6e
commit f156f980f7
1 file changed
+3 -2
+3 -2
View File
@@ -1,8 +1,9 @@
/* 沿用全局 .page 的左右 --gutter 留白与底部安全区,仅覆盖顶部留白 */
.page {
/* 纵向间距统一为左右留白(--gutter)的一半 */
/* 纵向间距统一为左右留白(--gutter)的一半;
二级页无底部 Tab 栏,不预留 --tabbar-h,只补安全区 */
padding-top: calc(var(--gutter) / 2);
padding-bottom: calc(var(--gutter) / 2 + var(--tabbar-h) + env(safe-area-inset-bottom));
padding-bottom: calc(var(--gutter) / 2 + env(safe-area-inset-bottom));
}
.trend-title {