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

Improved inventory tooltip visibility. #600

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

adhershmnair
Copy link
Contributor

Description

Tooltip seems to be too narrow.

Narrow tooltip.
image
image

Improved Wide tooltip.
image
image

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

@@ -443,7 +443,7 @@ div {
}

.custom-tooltip {
max-width: 6vw;
max-width: 20vw;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Increased but limited to 20vw to avoid overflow in case of lengthy description.

@GhzGarage GhzGarage merged commit 5397a6c into qbcore-framework:main Nov 26, 2024
2 checks passed
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