Repository navigation
修复搜索结果与搜索框重叠,并重写搜索面板、补充测试与 CI - #2
Merged
Merged
Conversation
- 搜索面板改为 TypeScript 脚本,用 DOM API 渲染结果而不是拼接 innerHTML; 支持检索正文,增加关闭按钮、aria 标注、状态播报与 Esc 关闭后焦点回到触发按钮 - Head、BaseLayout、PostsLayout、NavBar 等补充 SEO/无障碍标记并收敛布局结构 - 评论、Katex、主题切换组件与样式随之调整,astro.config.mjs 增加数学公式检测 - 依赖升级(astro、markdown-remark、astro-icon 等),新增 waline、katex - 新增 Playwright + axe 端到端与无障碍测试、npm audit 脚本、 check/test/verify 脚本以及 GitHub Actions CI Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
弹窗内容区原本用固定比例高度:标题栏 h-1/5、结果区 h-4/5。标题栏里的 标题行加输入框实际高度超过 20%,输入框溢出到结果区,结果列表盖在输入框上 (1024x768 下输入框底部 277px,结果区顶部 261px)。 改为纵向 flex 布局:标题栏按内容撑开(shrink-0,留 4px 底部间距给聚焦描边), 结果区占剩余空间(min-h-0 flex-1)并自行滚动,弹窗容器 overflow-hidden。 新增回归测试:弹窗打开后输入框底部不得低于结果区顶部。两个位置在同一次 evaluate 中读取,避免弹窗缩放动画造成两次读数不一致。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
变更
本分支有两个提交,建议分开审阅:
为什么
弹窗内容区用固定比例高度(标题栏 h-1/5、结果区 h-4/5),标题栏里的标题行加输入框实际高度超过 20%,输入框溢出到结果区,结果列表盖在输入框上。改为纵向 flex:标题栏按内容撑开,结果区占剩余空间并自行滚动。
验证
审阅提示
🤖 Generated with Claude Code