Other formats, other links and code links are hidden on narrow screens
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 67/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
Start by rendering the supplied Quarto document with quarto render, then inspect the generated HTML and its responsive styles for nav[role=doc-toc] and #quarto-margin-sidebar. Check how the three link groups are placed and hidden below 768 px, including pages with and without a table of contents. Done means the links remain reachable at narrow widths while preserving sensible placement on wide screens.
由索引模型根据 Issue 内容生成。
描述
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
Below the md breakpoint (768 px), an HTML page hides its "Other Formats", "Other Links" and "Code Links" groups.
Quarto puts them inside nav[role=doc-toc], or in #quarto-margin-sidebar when the page has no table of contents, and both are hidden on narrow screens.
A reader on a phone can't reach the other formats, the code, or the extra links of the page.
This issue was split out of #5961.
#15354 handles the table of contents, and this one covers the links.
Manuscripts don't have the problem.
They render the links in the title block metadata at every width.
The fix may change where the links sit on wide screens too, not only on narrow ones.
Related:
- #5961.
- #15354.
- #13141.
Steps to reproduce
---
title: "Links"
toc: false
format:
html: default
gfm: default
other-links:
- text: Example
href: https://example.com
code-links:
- text: Repo
href: https://github.com
---
## One
Text.
## Two
Text.
- Render the document with
quarto render. - Open the HTML file and resize the window from 1400 px to 375 px wide.
Actual behavior
At 768 px and above, the three groups show in the right margin.
Below 768 px, they are hidden, with or without toc: true.
Expected behavior
The links stay reachable at every width.
Your environment
- Quarto: development build from
main(1d80652ba). - OS: macOS 27.2.
- Browser: Brave (Chromium).
Quarto check output
Quarto 99.9.9
[✓] Checking environment information...
Quarto cache location: /Users/mcanouil/Library/Caches/quarto
Project: none found (single-file mode)
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.13.0: OK
Dart Sass version 1.107.1: OK
Deno version 2.9.8: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 99.9.9
commit: 1d80652ba64516c46173120048892c6694be9fb6
Path: /Users/mcanouil/Projects/quarto-dev/quarto-cli/package/dist/bin
- 主要语言
- JavaScript
- 星标
- 6.2k
- 派生
- 492
- 平均合并
- 15 小时 15 分钟
- 30 天内合并 PR
- 94
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
quarto-dev/quarto-cli 的其他 Issue
-
bootstrap enhancement themes
难度 2/5 1-3 小时 新手友好度 70/100
quarto-dev/quarto-cli#15421 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
quarto-dev/quarto-cli#15408 ·
维护者通常 1 天内回复
-
accessibility bug
难度 2/5 1-3 小时 新手友好度 79/100
quarto-dev/quarto-cli#15401 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug callouts docx regression
难度 2/5 1-3 小时 新手友好度 81/100
quarto-dev/quarto-cli#15394 · 2 条评论 ·
维护者通常 1 天内回复
-
bug lightbox
难度 2/5 1-3 小时 新手友好度 76/100
quarto-dev/quarto-cli#15393 ·
维护者通常 1 天内回复
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 13 天内回复
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner scheme可能已有人在做 @Bensonbenyi 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
Mintplex-Labs/anything-llm#7338 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复