Other formats, other links and code links are hidden on narrow screens
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 67/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript
- Domínio
- accessibility, frontend
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- JavaScript
- Estrelas
- 6.2k
- Forks
- 492
- Merge médio
- 15h 15min
- PRs com merge (30d)
- 94
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de quarto-dev/quarto-cli
-
bootstrap enhancement themes
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
quarto-dev/quarto-cli#15421 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
quarto-dev/quarto-cli#15408 ·
Mantenedores costumam responder em até 1 dia
-
accessibility bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
quarto-dev/quarto-cli#15401 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
bug callouts docx regression
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 81/100
quarto-dev/quarto-cli#15394 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug lightbox
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
quarto-dev/quarto-cli#15393 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de quarto-dev/quarto-cli
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
testing-library/jest-dom#749 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
ernst:4-klein prio:3-wacht ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
NewspeedyNL/PidLane#767 ·
Mantenedores costumam responder em até 1 dia
-
bug for-agent ready
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
WenyuChiou/agent-board#1812 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug help wanted Should Have ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
hannahro15/Musical-Match-Saga#327 · 1 comentário ·
Mantenedores costumam responder em até 1 dia