rstudio / rstudio/bslib

Icon alignment in horizontally constrained value boxes

Open
#1,110 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

From https://github.com/quarto-dev/quarto-cli/issues/10672

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:

image

Contributor guide

No contributing guide indexed for this repository

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 source file or test is named in the issue. Start by locating the value-box implementation and its existing styling, then reproduce the horizontally constrained Quarto dashboard example. Done means value-box content aligns consistently when labels wrap and can resize without requiring custom CSS.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, scss
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.