quarto-dev / quarto-dev/quarto-cli
Quarto dashboard alignment of content in value boxes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
The CSS could be improved to ensure the icons are aligned.
| Input | Output |
|---|---|
|
|
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/10505
Originally posted by xueyinghan August 13, 2024
Description
Would it be possible to have a feature for the value boxes when creating Quarto dashboards so that the top and bottom align and the content inside the value boxes re-size automatically or to re-size the content without using CSS?
For instance, the medal icon for United States is higher in the rendered dashboard because United States takes up 2 lines:
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 provided Quarto dashboard reproduction and compare the value-box layout for labels that wrap to multiple lines. Review the discussion in #10505 for context; done means the icons and content align consistently across value boxes without requiring user-supplied CSS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100