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

chore: minor styling update for searchable selector and select #416

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

jonasbrunvoll
Copy link
Contributor

@jonasbrunvoll jonasbrunvoll commented Oct 31, 2024

Minor changes to the css styling of Select and SearchableSelect. The PR includes the following changes:

  • Checkmark is moved to the right side of the selector option text.
  • Bg-color for highlighted option is changes to var(--interactive-interactive_2-active-background), same as used in webshop2.
  • Added :active to highlight active options for user in both Select and SearchableSelect.

I also considered doing more changes to make the selectors more similar the combobox in webshop2, but decided not to because the combobox in my opinion takes up a bit too much space in the mobile view. Feel free to give feedback on this.

Skjermbilde 2024-10-31 kl  14 02 39 Skjermbilde 2024-10-31 kl  14 02 51 Skjermbilde 2024-10-31 kl  14 03 46

Copy link

vercel bot commented Oct 31, 2024

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

Name Status Preview Comments Updated (UTC)
planner-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 1:09pm

@jonasbrunvoll jonasbrunvoll merged commit 19ea627 into main Nov 5, 2024
5 checks passed
@jonasbrunvoll jonasbrunvoll deleted the jonas/update_select branch November 5, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants