ng-matero/extensions

Change Width of Image ToolTip

btitular2 opened this issue · 1 comments

Discussed in #217

Originally posted by nbeligh May 17, 2023
Hello, hope you are fine, currently i'm trying to change the width of image diplayed but it does not work.
Am I missign something ? in the exemple i juste changed another image from internent larger than Angular logo, but it shows only the first 200px of it, yet the height can be changed.
Thank you in advance for you reply :)

My angular app is using css - and I can't get the tooltip to render a ng-template > 200px wide
mtx-tooltip1
. I was able to set the mtxTooltipClass to set the desired width, but the rendered ng-template doesn't fill the requested width. I've set the template's div width:100%, but it won't fill the width.

mtx-tooltip2
mtx-tooltip1

Can you provide an online example?