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

Ensure icon on sidebar bullets is rotated when link is active #1157

Merged
merged 2 commits into from
Apr 16, 2020
Merged

Ensure icon on sidebar bullets is rotated when link is active #1157

merged 2 commits into from
Apr 16, 2020

Conversation

kevgathuku
Copy link
Contributor

Fix #1143

Ensure the icon for the sidebar links is rotated for active links

I traced the issue back to the the CSS modules migration #1106

Solution:
Nest the icon rotate CSS rule under the .active class, for it to take effect when the .active class is added

Before (all icons face down)
Screenshot 2020-04-16 at 16 54 06

After (active icons face right)
Screenshot 2020-04-16 at 16 54 17

@shcheklein shcheklein temporarily deployed to dvc-landing-fix-sidebar-guo3p2 April 16, 2020 15:18 Inactive
@shcheklein
Copy link
Member

@kevgathuku looks awesome! 🙏

can we try to add some minor animation effect into transform?

@kevgathuku
Copy link
Contributor Author

Sure @shcheklein
I'll look into it

@shcheklein shcheklein temporarily deployed to dvc-landing-fix-sidebar-guo3p2 April 16, 2020 16:17 Inactive
@kevgathuku
Copy link
Contributor Author

Just added the animation @shcheklein

@shcheklein shcheklein merged commit 7d259fb into iterative:master Apr 16, 2020
@shcheklein
Copy link
Member

Perfect, thanks @kevgathuku 🙏

@kevgathuku
Copy link
Contributor Author

Glad to help out

@kevgathuku kevgathuku deleted the fix/sidebar-bullets-rotation branch April 16, 2020 17:23
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.

sidebar: item bullets don't change their state when open
2 participants