Closed Aeristoka closed 2 years ago
Note: The message using the details
tag posted above is from Beyond20. customizing CSS of core html tags is problematic because of conflicts like these. Your own html should be using a class and your CSS should be specific to that class, for example :
<details class="group-initiative">
and using details.group-initiative
for your custom CSS
Thanks for pointing this out. That is a rather stupid mistake. Will work on it during this week.
Thanks for pointing this out. That is a rather stupid mistake. Will work on it during this week.
I'm nothing if not able to stumble upon weird crap 😄
I've created a new task to refactor the headers: #29
https://github.com/vtt-lair/foundry-group-initiative/blob/master/templates/group-collapse.html
The CSS in that template which modifies the Details core HTML Tag breaks the placement of arrows in many places that they are used in FoundryVTT.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
In example, a chat message posted with a Details element working properly:
And the exact same Chat Message with this module enabled: