Commit 7f52ca4
fix(compact): 历史区到输入框再压紧 10px(scroll padding-bottom 26→16)
实测(浏览器量盒模型 + canvas 量 box-shadow 衰减)定位上次「没变化」的真因:用户看到的间距是最下气泡「实体方块底」到输入框 ~28px、由 scroll padding-bottom 主导(给 box-shadow 漏出留的空间);anchor bottom 只控「裁剪边」到输入框那 2px,肉眼分不出 6/2,所以改它几乎无感。box-shadow 0 7px 18px 数学下沿 25px,但 canvas 实测视觉可见下沿仅 ~13px(清晰段 ~9px)。故 padding-bottom 26→16:气泡实体底 28→18px(明显紧 10px),裁剪净空 15.9px 仍包住阴影可见段、阴影不被裁(上轮成果保留)。anchor bottom 维持 2px(再压到 0 会与输入框视觉粘连、收益≈0)。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6eccf81 commit 7f52ca4
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
2407 | | - | |
2408 | | - | |
2409 | | - | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
2410 | 2414 | | |
2411 | 2415 | | |
2412 | 2416 | | |
| |||
0 commit comments