Skip to content

River/tags: Add static CSS classes for all available tags.#5017

Open
nonamescm wants to merge 1 commit intoAlexays:masterfrom
nonamescm:add-static-river-tag-classes
Open

River/tags: Add static CSS classes for all available tags.#5017
nonamescm wants to merge 1 commit intoAlexays:masterfrom
nonamescm:add-static-river-tag-classes

Conversation

@nonamescm
Copy link
Copy Markdown

The current implementation of river/tags does not make it possible to set all tags to static colors based on their absolute index if hide-vacant is set to true, as the only way to do that is through :nth-child selectors, which don't take into consideration the hidden vacant tags.

This PR adds static CSS classes .tag-N, N ranging from 1 to num-tags, to the river/tags module that allow all tags to be referred to by their absolute river index.

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.

1 participant