RockefellerArchiveCenter / styles

Style Library for the Rockefeller Archive Center
https://styles.rockarch.org
MIT License
0 stars 1 forks source link

Fix layout of header with text brand on mobile #220

Closed HaSistrunk closed 2 months ago

HaSistrunk commented 2 months ago

Describe the bug

On mobile, if the brand subtitle is not very long, it does not collapse to the next line on small screens. The layout assumes it will move to the line below the site title (it was based on the DIMES styles, that do this), so the layout doesn't work correctly on all sites

Expected behavior

The header__brand-subtitle element should remain correctly aligned with the title or collapse underneath it on mobile.

Error message or screenshots

image