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

Adds information about how Blankslate adapts to narrow containers #664

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/components/blankslate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ For first time user experiences, use illustration Blankslates to playfully engag

![first time user Blankslate](https://github.com/primer/design/assets/813754/3caf0160-d369-40b6-86dc-d2eac967a21d)

## In a narrow container

When a Blankslate is rendered in a narrow area, the spacing and font sizes are reduced so that it's visually proportional to the narrow area it's being rendered in. This is implemented using container queries, so this will happen on any viewport size.

![Blankslate with smaller spacing and text](https://github.com/primer/design/assets/2313998/95cd99e1-5d8a-4b2d-849e-430d17f61d02)

## Accessibility

### Known accessibility issues (GitHub staff only)
Expand Down
Loading