adambard / adambard/learnxinyminutes-docs

80 characters won't fit sometimes one line in the html output

未关闭
#2,611 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug needs testing
主要语言
Markdown
星标
12.3k
派生
3.7k
平均合并
13 小时 10 分钟
30 天内合并 PR
6

描述

instead of using 1em, if you use 0.99em as the font-size, that change will make the lines fit in.
for example, in the Erlang page.

> % followed by a pattern (in parentheses), and the body consists of a sequence of

will have the last word "of" in a new line.

贡献指南

打开贡献指南

调研方向

Start with the HTML/CSS generation path for the Erlang page and inspect the quoted line at the current 1em font size. Compare the suggested 0.99em adjustment in the rendered output, then check other generated pages for regressions. Done means the final word stays on the same line without harming the surrounding layout.

由索引模型根据 Issue 内容生成。

评估

技术栈
css, erlang, html
领域
documentation, frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。