Skip to content

Conversation

@sukhwinder33445
Copy link
Contributor

Before:

Screenshot 2025-06-04 at 09 03 52

After:

Screenshot 2025-06-04 at 09 08 01

@sukhwinder33445 sukhwinder33445 self-assigned this Jun 4, 2025
@cla-bot cla-bot bot added the cla/signed label Jun 4, 2025
@sukhwinder33445 sukhwinder33445 force-pushed the fix/menu-hover-caret-color branch from a2e2a35 to fe6d568 Compare June 4, 2025 07:16
@sukhwinder33445 sukhwinder33445 requested a review from nilmerg June 4, 2025 07:19
height: @nav-item-height;
line-height: @nav-item-height;
display: block;
#layout:not(.minimal-layout).sidebar-collapsed #menu .nav-level-1 > .nav-item.hover > .nav-level-2 {
Copy link
Member

Choose a reason for hiding this comment

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

Why :not(.mimimal-layout)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Otherwise, the color of the caret (:after) cannot be changed, as it has been defined with higher specificity (:not.minimal-layout). I have used the same specificity to change the color.
And the caret and the .nav-item-header are not present in the .minimal-layout. So this change cannot have a negative effect.

@sukhwinder33445 sukhwinder33445 force-pushed the fix/menu-hover-caret-color branch from fe6d568 to 0170600 Compare November 7, 2025 08:28
- Change the css specificity so it matches the existing level (hovered menu)
@sukhwinder33445 sukhwinder33445 force-pushed the fix/menu-hover-caret-color branch from 0170600 to 8997f7f Compare November 7, 2025 08:35
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.

3 participants