ShoyuVanilla / FoundryVTT-Chat-Portrait

Other
14 stars 24 forks source link

Text unreadable for some chat cards in PF1 #64

Closed emdant closed 3 years ago

emdant commented 3 years ago

Environment Details

Issue Description

Using Find the Culprit I found that Chat Portrait is changing the color property of some chat cards title text for Pathfinder 1, which makes it unreadable (example below, respectively without and with chat portrait) imageimage

I found out that the problem is that chat portrait is removing the inline style of the element that makes the text white:

<h3 class="item-name chat-portrait-text-size-name" style="">
<img src="systems/pf1/icons/misc/magic-swirl.png" title="Cure Serious Wounds" width="40" height="40" class="message-portrait">
Cure Serious Wounds
</h3>

While this is the text when the module is disabled:

<h3 class="item-name" style="color: white;">Cure Serious Wounds</h3>
p4535992 commented 3 years ago

Should be fixed on 0.4.4