python / python/python-docs-theme
Improve how whitespace & line height is handled in the stylesheets
未关闭
适合新手
还没有人认领这个 Issue。
bug
help wanted
- 主要语言
- CSS
- 星标
- 90
- 派生
- 78
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 4
描述
The vertical alignment of "Editors" inside its box is a bit off, it's too high up: https://docs.python.org/3/whatsnew/3.14.html
This is a <dl><dt>Editors</dt><dd>...</dd> structure.
We should also check other uses of this HTML in the docs.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查主题样式表,查找影响用于“Editors”的
- 、
- 和
- 结构的规则,然后比较链接的 Python 文档页面中的渲染示例。检查文档中该 HTML 的其他用法,并确认垂直对齐和行高已得到一致修正。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- css
- 领域
- documentation
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100