Skip to content

Update Chevron in Select to point sideways #633

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

Conversation

SjurSutterudSagen
Copy link
Contributor

Since the downwards chevron can be a bit misleading, we are changing it to be a sideways chevron in the 'inVariableBox' version. To better indicate that something will open in the middle of the screen.

This contains some refactoring, since some functionality is now shared. Added a function to show 2 different icons based on the language direction, but not sure if this is what we want. The original code for this check is one line, so maybe we just want to use that instead. Would like feedback on this!

Also added a 'RTL' part to the Select in Storybook, so we can see how it looks when the direction is reversed.

Since the downwards chevron can be a bit misleading, we are changing it
to be a sideways chevron in the 'inVariableBox' version. To better
indicate that something will open in the middle of the screen.

This contains some refactoring, since some functionality is now shared.
Added a function to show 2 different icons based on the language
direction, but not sure if this is what we want. The original code for
this check is one line, so maybe we just want to use that instead.
Would like feedback on this!

Also added a 'RTL' part to the Select in Storybook, so we can see how
it looks when the direction is reversed!
Copy link

cloudflare-workers-and-pages bot commented Apr 10, 2025

Deploying pxweb2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2a1705a
Status: ✅  Deploy successful!
Preview URL: https://ae1b4c81.pxweb2.pages.dev
Branch Preview URL: https://fix-pxweb2-431-change-arrow.pxweb2.pages.dev

View logs

@SjurSutterudSagen SjurSutterudSagen merged commit 070fa5c into main Apr 11, 2025
12 checks passed
@SjurSutterudSagen SjurSutterudSagen deleted the fix/PxWeb2-431-change-arrow-in-variableBox-select-to-sideways-arrows branch April 11, 2025 10:15
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