Skip to content

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
@AristurtleDev AristurtleDev deleted the multiple-resource-tags branch August 12, 2025 00:14
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