Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 1008 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 1008 Bytes

Better UI for the compendium packs tab. Clearer and more compact.

Screenshots

Normal compendium packs tab without this module Compendium packs tab with this module
Normal compendium packs tab without this module Compendium packs tab with this module

Why not only CSS?

This module could almost be without JS and be CSS only but, sadly, it's needed because the "lines" in the compendium tab have no CSS class (or attribute) saying what their type is. The only way to detect that is to use the title of the category which can't be done in CSS. So JS is used to detecte those category titles and add a appropriate CSS class that the CSS file can use after.

Compatibility

Compatible with version 2.4.1 of vtt-compendium-folders, others version are probably compatible but I haven't tested them.