Skip to content

Multiple resource tags #197

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

Merged
merged 3 commits into from
Feb 9, 2025

Conversation

AristurtleDev
Copy link
Contributor

If a resource listed has more than three tags, then the tags wrap around and can get crowded.

Here is an example, with 7 tags

image

This PR adds logic to the resource.njk template to

  • When a resource contains more than 3 tags, a 4th element is displayed with just the additional number of tags (e.g. if a resource has 4 tags, the element will say "+1"
  • When the 4th element is hovered, a tool tip is enabled that lists the additional tags

Here is a video example of this in action

tooltips.mp4

AristurtleDev and others added 3 commits February 6, 2025 11:47
This adds a tool tip pop up that contains the additional tags on hover when there are more than 3 tags for a resource.
@SimonDarksideJ SimonDarksideJ merged commit 69a0ebb into MonoGame:main Feb 9, 2025
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.

2 participants