quarto-dev / quarto-dev/quarto-cli
Details tag not well supported for article layout
Open
Nobody has claimed this yet.
articles
bug
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/3813
Originally posted by howardm December 31, 2022
Hi,
I'm trying to use the following functionality in a particular portion of a web page:
<details><summary>Content to be revealed</summary>
Content that is revealed.
</details>
It works, but this screenshot shows the placement of it (truncated) in the left margin

Is the fact that the code precedes content that includes a ::: {.panel-tabset .column-page} section the cause ?
This problem with the code doesn't occur elsewhere in the document.
Howard
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked discussion and reproduce the smallest article containing a
block before a ::: {.panel-tabset .column-page} section. Compare its placement with the same block elsewhere in the document; done means the details content is positioned correctly in the article layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100