Other formats, other links and code links are hidden on narrow screens
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 67/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
- Ambito
- accessibility, frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- JavaScript
- Stelle
- 6.2k
- Fork
- 492
- Merge medio
- 15h 15m
- PR unite (30g)
- 94
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di quarto-dev/quarto-cli
-
bootstrap enhancement themes
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
quarto-dev/quarto-cli#15421 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
quarto-dev/quarto-cli#15408 ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
quarto-dev/quarto-cli#15401 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug callouts docx regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
quarto-dev/quarto-cli#15394 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug lightbox
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
quarto-dev/quarto-cli#15393 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di quarto-dev/quarto-cli
Issue simili
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 13 giorni
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemeForse già presa @Bensonbenyi l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
Mintplex-Labs/anything-llm#7338 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno