Skip to content

Conversation

@alexandersandberg
Copy link
Member

Motivation:

I noticed that all drop-down items are highlighted as active if the top-level item is active. This PR fixes that.

Modifications:

  • Moved .active class to the .link-container div

Result:

Before After
CleanShot 2024-03-26 at 18 59 33 CleanShot 2024-03-26 at 18 59 56

@alexandersandberg
Copy link
Member Author

@swift-ci please test

Copy link
Member

@kaishin kaishin left a comment

Choose a reason for hiding this comment

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

Nice catch!

@alexandersandberg alexandersandberg merged commit 19e3b88 into main Mar 26, 2024
@alexandersandberg alexandersandberg deleted the alexandersandberg/mobile-menu-active-fix branch March 26, 2024 19:13
cthielen pushed a commit to Joannis/swift-org-website that referenced this pull request Mar 26, 2024
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