-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MenuItem component to improve active state management and st…
…yling - Enhanced the logic for determining active menu items, allowing for accurate representation of active states for both parent and child items. - Updated the CSS styles for the expand icon to reflect active states, improving visual feedback for user interactions. - Improved code clarity by encapsulating active state logic within a dedicated function, enhancing maintainability. These changes significantly enhance the user experience by providing clearer navigation cues within the Chat interface.
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -469,7 +469,6 @@ | |
|
||
.menu-item.expanded .expand-icon { | ||
opacity: 1; | ||
color: var(--color_main); | ||
} | ||
|
||
.menu-children { | ||
|