magicsunday / webtrees-pedigree-chart

SVG based pedigree chart module for webtrees genealogy application.
GNU General Public License v3.0
49 stars 16 forks source link

Black & White chart blocks #64

Closed papjul closed 12 months ago

papjul commented 1 year ago

Describe the bug Sometimes between 4bf28a56362acaa182cae6b627e616280c0e15ea and v1.6.1, charts added as blocks on pages became colorless. Issue did not happen in previous version or when #59 was submitted

To Reproduce Pre-requisite: Modules:

Steps to reproduce the behavior:

  1. Go to homepage tree
  2. Add a chart block of type "Pedigree"
  3. Come back to homepage
  4. See chart in black and white

Expected behavior Chart should be colored.

Screenshots image

Desktop (please complete the following information):

Additional context Real-life example here: https://gene.amenysta.net/tree/papasian

magicsunday commented 12 months ago

The only drawback of the solution is now, multiple includes of the CSS files, but there seems to be no other way to solve it in Webtrees at the moment.

https://github.com/fisharebest/webtrees/issues/4908