From cccd21aff1c438eaded040c48edea16466dba799 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 6 Sep 2026 05:13:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=9A=E8=AE=AF=E5=BD=95?= =?UTF-8?q?=E5=AD=97=E6=AF=8D=E7=B4=A2=E5=BC=95=E6=9D=A1=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E9=94=99=E8=AF=AF=EF=BC=8C=E4=B8=8E=E5=A5=BD=E5=8F=8B=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=87=8D=E5=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .people-index 用了固定 top:13rem,是"新朋友/群组/文件助手/系统消息" 四行快捷入口成为现在这个样式之前遗留的旧值——实测索引条渲染在约173px 处,而按字母分组的好友列表实际从约375px才开始,索引条整整偏高200px, 盖在快捷入口行上而不是贴着好友列表。按真实布局(header+搜索框+四行 入口+分组标题外边距)重新算出27.5rem。 第十二轮最小粒度测试 Ch5-6 发现。 Co-Authored-By: Claude Sonnet 5 --- css/base.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/css/base.css b/css/base.css index f3f4c4a8..00f394bf 100644 --- a/css/base.css +++ b/css/base.css @@ -9281,7 +9281,14 @@ div.toast.show { .people-index { position: absolute; z-index: 2; - top: 13rem; + /* Anchored against .people-page (the nearest positioned ancestor), which starts above the + header -- 13rem used to land ~200px above the actual friend list (overlapping the fixed + 4-row entry list: 新朋友/群组/文件助手/系统消息), a leftover value from before that entry + list existed in its current form. Real layout above the letter-grouped list is header + (4.5rem) + search bar incl. margins (4.4rem) + entry list incl. bottom margin (4 x 4.3rem + rows + 0.8rem margin = 18rem) + "好友通讯录" section title's own top margin (0.6rem) = + 27.5rem -- confirmed live via getBoundingClientRect against the real rendered page. */ + top: 27.5rem; right: 0.35rem; display: flex; gap: 0.2rem;