You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the thumbnails on the right side of the Pedigree Map page, but (from my point of view) they are rather small (height:40px; width:50px) and cannot be styled via the CSS and JS module with a different size because they are missing a CSS class (while the icon-silhouettes have a CSS class). It seems to me the _buildMapData function produces this code, but I couldn't find the respective module code.
The first example results in a 40x50 pixel thumbnail that cannot be styled and doesn't use the different sizes suggested by the srcset.
It would be great if you could add a CCS class to this line <img dir="auto" src="https://webtrees.example.com/tree/myTree/media-thumbnail ...
with something like this: <img class="wt-chart-box-thumbnail" dir="auto" src="https://webtrees.example.com/tree/myTree/media-thumbnail ...
The text was updated successfully, but these errors were encountered:
The custom module re-uses code from the original webtrees PedigreeMapModule module, which I'm reluctant to drill down into.
The images (or silhouettes) are created here. I think the missing css class should be added by webtrees core code (this may be useful elsewhere). I suggest creating a webtrees issue for this. I'll reconsider in case webtrees refuses to address this.
I like the thumbnails on the right side of the Pedigree Map page, but (from my point of view) they are rather small (height:40px; width:50px) and cannot be styled via the CSS and JS module with a different size because they are missing a CSS class (while the icon-silhouettes have a CSS class). It seems to me the _buildMapData function produces this code, but I couldn't find the respective module code.
Example for a person with a thumbnail:
Example for a person without thumbnail and consequently a silhouette:
The first example results in a 40x50 pixel thumbnail that cannot be styled and doesn't use the different sizes suggested by the srcset.
It would be great if you could add a CCS class to this line
<img dir="auto" src="https://webtrees.example.com/tree/myTree/media-thumbnail ...
with something like this:
<img class="wt-chart-box-thumbnail" dir="auto" src="https://webtrees.example.com/tree/myTree/media-thumbnail ...
The text was updated successfully, but these errors were encountered: