quarto-dev / quarto-dev/quarto-cli

Flex content in simple callout in revealJS does not spread full with

Open
#11,315 0 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Nov 5, 2024.

bug callouts revealjs themes
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

One improvment to add
image

It seems we never styled correctly the simple callout content.

FWIW in HTML it looks like
image

It applies to version with icon too
Image

Image

And version with title
Image

Image

Originally posted by @cderv in https://github.com/quarto-dev/quarto-cli/issues/11251#issuecomment-2457249696

This is probably related to callout-body-container rule with flex-grow: 1 that never applied in revealjs

Full examples of newest style with the problem at
https://examples.quarto.pub/revealjs-default-callouts-styles

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.