Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Display headers don't wrap on small viewports #71

Open
mattxwang opened this issue Nov 18, 2020 · 0 comments
Open

[BUG] Display headers don't wrap on small viewports #71

mattxwang opened this issue Nov 18, 2020 · 0 comments

Comments

@mattxwang
Copy link
Member

mattxwang commented Nov 18, 2020

Describe the bug

On small viewports, display headers don't wrap properly, and the text gets cut off. Here's an example from the Teach LA branding page - "Pattern / Motif" isn't breaking properly:

Screen Shot 2020-11-17 at 9 50 33 PM

My two cents: disabling the line letter-spacing: 0.585em fixes the problem; the text isn't wrapping because the width of the (parent) block is calculated before letter spacing is applied. However, if you want to maintain the visual effect of the spacing, you'll need to do something else.

Screen Shot 2020-11-17 at 9 54 07 PM

Note: similar behaviour causes the width of the page to be calculated incorrectly; see:

Screen Shot 2020-11-17 at 9 58 20 PM
Screen Shot 2020-11-17 at 9 58 36 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants