You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the container query width to drive the value font-size, rather than the viewport width (it currently uses something like font-size: 1.325rem + .9vw).
With this rule, the width of the value box itself drives the font size of the value, so the value shrinks and grows proportional to the value box width.
The text was updated successfully, but these errors were encountered:
Oh and actually, a better way to approach the width of the top-right showcase is to adjust the showcase width, e.g. showcase = showcase_top_right(width = 0.3).
Two adjustments I've recently used in an app are:
Have the
value
of ashowcase_layout = "top right"
value box take up the entire value box width withUse the container query width to drive the
value
font-size, rather than the viewport width (it currently uses something likefont-size: 1.325rem + .9vw
).With this rule, the width of the value box itself drives the font size of the value, so the value shrinks and grows proportional to the value box width.
The text was updated successfully, but these errors were encountered: