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

refactor: improve language select style #77

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

gao-sun
Copy link
Member

@gao-sun gao-sun commented Nov 27, 2024

Summary

dynamically calculate and set select's width based on selected option since by default <select> uses the longest option's width.

@gao-sun gao-sun marked this pull request as ready for review November 27, 2024 06:49
Copy link

Deploying auth-wiki with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2a88e36
Status: ✅  Deploy successful!
Preview URL: https://b28364e5.auth-wiki.pages.dev
Branch Preview URL: https://gao-improve-language-selecto.auth-wiki.pages.dev

View logs

@gao-sun gao-sun merged commit 7addef6 into master Nov 27, 2024
3 checks passed
@gao-sun gao-sun deleted the gao-improve-language-selector-style branch November 27, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant