Closed gadenbuie closed 1 month ago
The font-size comes from applying Bootstraps h2
and h6
font and spacing styles. I think we should stick with that.
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.