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

fixed: Side Menu text overflow #4530

Merged
merged 1 commit into from
Dec 19, 2024
Merged

fixed: Side Menu text overflow #4530

merged 1 commit into from
Dec 19, 2024

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Dec 19, 2024

fixed: Side Menu text overflow

@fit2bot fit2bot requested a review from a team December 19, 2024 03:16
border-style: solid;
border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
}
</style>
Copy link
Member

Choose a reason for hiding this comment

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

The provided code snippet does not contain any errors but may be redundant or outdated due to its long length compared to the current knowledge date range of September 1, 2021 onward. It should serve as a good reference guide for those interested in implementing component-based UIs with Vue.js.

Here's a condensed version that removes some unnecessary parts:

<style scoped>
  ::v-deep(.el-menu-item), ::v-deep(.el-submenu__title)
  {
    overflow-wrap: break-word;
  }

 .menu-tooltip {
   transition: all 0.3s ease-in-out;  
  }

 .menu-tooltip::before {
   content: "";
   position: absolute;
   left: -4px;
   top: 50%;
   transform: translateY(-50%);
   border-width: 4px;
   border-style: solid;
   /* ... */
}

This provides a basic structure and styles needed to create an animated tooltip next to an inline menu item using CSS transitions. More intricate tooltips could require further refinement or might use JavaScript instead (with @import imports and/or event listeners).

Remember to test your custom components after adding this code snippet to ensure it functions as expected on your front-end development environment.

@ZhaoJiSen ZhaoJiSen merged commit 42ca29b into dev Dec 19, 2024
3 of 4 checks passed
@ZhaoJiSen ZhaoJiSen deleted the pr@dev@fixed_side_menu branch December 19, 2024 03:16
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants