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

Tweak Thumbicon #6163

Merged
merged 4 commits into from
Nov 22, 2023
Merged

Conversation

Kongkille
Copy link
Contributor

Description

Fixes an issue where if selectedIndex is 0, the wrong icon is displayed (honestly, JS is the true culprit here).

Also did a few opinionated changes on the hover effect, which I guess are more optional hehe.

Hoping to see a lot of you on Friday! 🍺

Preview

Before:
image

After:

Screen.Recording.2023-11-21.at.22.50.51.mov

Double check

  • I have run pnpx prettier --write . and poetry run format to format my changes.

Copy link
Member

@madsnedergaard madsnedergaard left a comment

Choose a reason for hiding this comment

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

Haha yay, so great to see your avatar again! 🤩

And thanks for fixing the silly JS bug and adding hover, added a suggestion for also dropping some transition there, but otherwise it's all good to me 💚

@VIKTORVAV99
Copy link
Member

🥳

Thanks for fixing it @Kongkille!
I won't be there on Friday but I hope you're doing well!

@VIKTORVAV99 VIKTORVAV99 merged commit abaf397 into electricitymaps:master Nov 22, 2023
19 checks passed
ghost pushed a commit that referenced this pull request Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants