ShoyuVanilla / FoundryVTT-Chat-Portrait

Other
14 stars 24 forks source link

Graphical bug when using Chat Portrait in Shadowrun 6 system #76

Closed uetonm closed 2 years ago

uetonm commented 3 years ago

Your really great Chat Portrait module produces a graphical bug when used with the Shadworun 6 system (). Since the SR6 system is still in development, I am not sure if the bug has to be fixed in the SR6 system or the Chat Portrait module, but since there are much more modules than systems I think it makes sense to fix the module, if possible, so it works with all/most systems.

Now to the bug. The Shadowrun 6 system uses an icon (looks like a purple poker chip) when a player makes a test to show how much "Edge" a player has left. Without the module it looks like this: without_chat_portrait The current number of Edge (here 3) is shown above the purple poker chip.

If you then enable the Chat Portrait module the Shadowrun icon gets misaligned (directly under the chat portrait) and it is also somehow on a layer above the chat messages (if you scroll the messages in the chat, the purple icon doesn't move). You can see the misalignment in my second screenshot: with_chat_portrait

I hope you can fix it or maybe just some custom css code in the settings will suffice, i don't know.

p4535992 commented 3 years ago

I will look into it.

p4535992 commented 2 years ago

IMPORTANT: Since version 0.7.0, the module has been rewritten to allow for each system to have a css file to define the style and a description file of the mapping for the "ImageReplacer" feature.

Now the community can "come" to me a little, testing the css on their browser and help me understand which combination is the best, i file css si trovano nella directory degli styles, here a example for the dnd5e system