quarto-dev / quarto-dev/quarto-cli

Columns right after list isn't displayed properly for Reveal.js

Open
#10,073 4 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Jun 20, 2024.

bug revealjs themes
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/9951

Originally posted by snhansen June 11, 2024

Quarto documentHTML
---
format: revealjs
---

## Title

Here's a list

* Item 1
* Item 2

:::: {.columns}

::: {.column}
Left column
:::

::: {.column}
Right column
:::

::::

image


From @cderv:

I believe this our Quarto CSS here.

https://github.com/quarto-dev/quarto-cli/blob/974eba9aff5db8a17e9b45b457c6db3bfc0e34a8/src/resources/formats/html/_quarto-rules.scss#L642-L655

The display: initial here could be something causing this. Removing seems to solve as display: flex will be used.

I believe this has been done because Pandoc did this change

and it seems there were breakage report which lead JJ to revert to initial.

We would need to find the other example that don't work if we remove this initial value


Workaround:

---
format: revealjs
---

## Title

::: {#top-content}
Here's a list

* Item 1
* Item 2
:::

:::: {.columns}

::: {.column width=50%}
Left column
:::

::: {.column width=50%}
Right column
:::

::::

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.