diff --git a/index.html b/index.html index 569fef2..0290603 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ 妈妈盒子 · 孕育陪伴 - - + + @@ -1763,8 +1763,8 @@ 加载失败/离线时 window.wx 为 undefined,goMall() 会降级为 toast 提示, 不影响应用其余功能。 --> - - -
v26090722
+ + +
v26090723
diff --git a/mama-box.css b/mama-box.css index 1dddd15..817c656 100644 --- a/mama-box.css +++ b/mama-box.css @@ -2642,3 +2642,11 @@ a.skip:focus{left:16px;top:16px} /* 弹层「全部孕期工具」:无 logo 应用的字母兜底块(与 .a-ico 同尺寸) */ .apps-grid .a-ico-letter{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:22px;color:#fff;font-size:22px;font-weight:800} + +/* 弹层宫格限 4 行 × 4 列:超出在宫格内部滚动(不撑长弹层)。 + 行高 minmax(92px,auto):图标54 + 间距8 + 两行名称 ≈ 92,行行等高对齐; + 4行 × 92 + 3 × 行距16 = 416px。 */ +#appsGrid{grid-auto-rows:minmax(92px,auto);max-height:416px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-right:4px;scrollbar-width:thin;scrollbar-color:#E0CFC5 transparent} +#appsGrid::-webkit-scrollbar{width:4px} +#appsGrid::-webkit-scrollbar-thumb{background:#E0CFC5;border-radius:2px} +#appsGrid::-webkit-scrollbar-track{background:transparent}