更新了榜单的渲染 - #1
Merged
Merged
更新了榜单的渲染#1
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
变更与前端对 PDF/MHTML/HTML 的既有支持一致,且主要为样式与入口调整,未发现破坏性逻辑问题。
Pull request overview
该 PR 主要针对“往届榜单/榜单页面”的展示体验做了样式优化,并将 2025 新生赛的榜单入口从 HTML 切换为 PDF,以统一/改善渲染效果。
Changes:
- 将
data/boards.json中“2025新生赛”链接从index.html更新为standings.pdf。 - 优化 DOMjudge 导出榜单页面的布局:单元格内容用
inline-flex垂直居中、统一题目徽标与队伍/机构图片尺寸。 - 针对桌面端“题数/罚时”列加宽,避免长罚时数字与题数粘连;调整题目徽标最小尺寸以改善对齐。
File summaries
| File | Description |
|---|---|
| data/boards.json | 将 2025 新生赛入口切换到 PDF 榜单文件 |
| boards/2026暑假集训/round1/style_domjudge.css | DOMjudge 榜单样式优化(居中/图标尺寸/列宽/徽标尺寸) |
| boards/2026暑假集训/round2/style_domjudge.css | 同上(round2) |
| boards/2026暑假集训/round3/style_domjudge.css | 同上(round3) |
| boards/2026暑假集训/round4/style_domjudge.css | 同上(round4) |
| boards/2026暑假集训/round5/style_domjudge.css | 同上(round5) |
| boards/2026暑假集训/round6/style_domjudge.css | 同上(round6) |
| boards/2024新生赛/index.html | 内联样式同步优化(居中/图片尺寸/徽标与单元格细节调整) |
| boards/2023新生赛/index.html | 内联样式同步优化(居中/图片尺寸/徽标与单元格细节调整) |
Review details
- Files reviewed: 10/11 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
No description provided.