Styles on "code" make list formatting weird
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- css, javascript
- 领域
- frontend
调研方向
从 static/css/site.css 的第 28-29 行开始,比较 Advanced 页面启用和不启用代码样式时的情况。检查 Help 部分和关联的 issue #309,以了解长 URL 的行为是否仍需要这些规则。完成的标准是:Advanced 页面上的内联代码格式化能够正常工作,同时不会重新引入 Help 页面中报告的问题。
由索引模型根据 Issue 内容生成。
描述
This was introduced in #309 to prevent long URLs from being broken in the "Help" section of https://storymap.knightlab.com/#help, under "How can I link to a specific slide?".
There are two problems here:
- That stylesheet isn't loaded on https://storymap.knightlab.com/#help (and in Chrome 59 on OSX, the issue described in #309 doesn't appear to exist, making the styles there unnecessary in the current form of this repo)
- The
display: blockrule breaks inline formatting of code elements in https://storymap.knightlab.com/advanced/:
Here's the "Advanced" page with code { display: block; }:
And without:
- 主要语言
- JavaScript
- 星标
- 250
- 派生
- 61
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NUKnightLab/StoryMapJS 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
NUKnightLab/StoryMapJS#507 ·
-
Visual glitches未关闭
难度 4/5 3-5 天 新手友好度 48/100
NUKnightLab/StoryMapJS#506 ·
-
难度 5/5 一周以上 新手友好度 35/100
NUKnightLab/StoryMapJS#505 ·
-
难度 2/5 1-3 小时 新手友好度 50/100
NUKnightLab/StoryMapJS#495 ·
-
难度 4/5 3-5 天 新手友好度 35/100
NUKnightLab/StoryMapJS#488 ·
查看 NUKnightLab/StoryMapJS 的全部 Issue
相似的 Issue
-
BUG
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
[BUG]: filesystem-edit-file converts a CRLF file's line endings to LF on every edit可能已有人在做 @MohammadHijjawi97 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
Mintplex-Labs/anything-llm#6755 ·
维护者通常 1 天内回复
-
type/bug
难度 1/5 1 小时以内 新手友好度 75/100
flarum/framework#5231 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6896 ·
维护者通常 3 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复