Skip to content

[Metric] Enhance typography positioning and proportions #2306

@gvnmagni

Description

@gvnmagni

Due to a relevant amount of feedback, I would propose to improve the positioning and alignment of the primary and secondary value within Metric charts.

The current status of this component force these block of text to be aligned to the right side in order to facilitate vertical comparison of numbers:

Metric Chartaaaa

I would propose to:

  1. include the possibility for the user to decide where to align these elements (left or right)
  2. re-evaluate the current handling of font-size to see if here is room enough to make improvements or to adjust our current breakpoints
  3. once implemented the new alignment, having it by default to the left and having the right one as an alternative

So that we could get this:

Metric Chartbbb

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions