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

[Common]: Carousel - Only show dots if more than 1 #31

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

Angi-Kinas
Copy link
Contributor

This PR removes the dots below the carousel when there is only a single dot. If there are more or equal than 2 it will be shown.
This will improve the UI and UX since there will be no interactions possible with only one dot.

image
image

Copy link
Contributor

@cmoinier cmoinier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this nice fix 🙂 LGTM!

@Angi-Kinas Angi-Kinas merged commit 6b2047b into main Mar 7, 2024
7 checks passed
@Angi-Kinas Angi-Kinas deleted the carousel-dots branch March 7, 2024 16:25
@tkohr
Copy link
Member

tkohr commented Mar 7, 2024

Nice, very efficient change! Do you think you could "backport" this to gn-ui?

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.

3 participants