Repository navigation
fix: 超宽屏相关链接面板加高并垂直居中 - #662
Merged
Merged
Conversation
Deploying note with
|
| Latest commit: |
5365515
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1e2e763f.note-e01.pages.dev |
| Branch Preview URL: | https://codex-660-ultrawide-related.note-e01.pages.dev |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #660
超宽屏下,右侧常驻的“相关链接”面板被限制为
38vh且贴在列顶部,长列表只能显示少量条目。现在将面板最大高度提高到72vh,在占满视口高度的 sticky 容器内垂直居中,并保留上下安全间距和列表内部滚动。短列表按实际高度居中。同步更新设计约定,并用固定的长文、18 项关联列表验证 2040/2560 宽度、600/900/1440 高度、页面滚动后的居中、最后一项可达,以及缩窄后恢复悬浮入口。亮暗主题截图作为该用例的
ultrawide-panels-light/ultrawide-panels-dark附件保存在 Playwright 报告中,CI 产物见 e2e 工作流。图片未提交到仓库。验证使用 Node.js 26.12.1:
npm test:80 个文件、1106 项测试通过。NOTE_BUILD_COMMIT_TOTAL_TREND=1 npm run build:通过。npm run test:e2e:pr -- --workers=4:首轮 142/148 通过。修正超宽屏测试对真实文章关联内容的依赖后,npm run test:e2e:pr -- --last-failed --workers=1的 6/6 项通过;其余 5 项首轮失败均在串行重跑时通过。git diff --check通过。