Skip to content

fix: fixed search icon scaling in docsearch.css #1809

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

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

jguddas
Copy link

@jguddas jguddas commented Mar 30, 2024

When the browser text size is not set to 16px some docsearch icons break.

Before:
The search icon is tilled and repeated instead of scaled
screenshot

After:
The search icon size is scaled, the stroke width is not scalled and kept the same.
screenshot

Note

You can change the font size setting in chrome in the apperance settings.
https://support.google.com/chrome/answer/96810#fontsize

Copy link

vercel bot commented Mar 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 30, 2024 10:21am

@adamwathan
Copy link
Member

Thanks!

@adamwathan adamwathan merged commit d65630a into tailwindlabs:master Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants