quarto-dev / quarto-dev/quarto-cli

Alignment of text and icons in value box

Open
#10,509 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dashboards enhancement
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

The icons and texts inside the value boxes when using quarto dashboards are not aligned automatically. For instance:

Screenshot 2024-08-12 at 5 24 38 PM

The medal icon is not top-aligned because United States is taking up two lines. Would it be possible to have a feature enhancement to make the top and bottoms aligned and have the content inside automatically adjust in size? Or provide a feature in which we could change the text size easily?

Thanks!

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.

Research direction

No file or test is identified in the report. Reproduce the Quarto dashboard value-box example, locate the dashboard markup and styling entry point, and define done as consistent top and bottom alignment plus a clear way to adjust text size.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.