Dear All. I have a simple floorplan with temp and humidity for many rooms.
With tooltips set to tooltipPermanent: true so they are visible all the time
I notice that the tooltip is actually half obscuring the icon.
If I inspect the page CSS this can be fixed by modyfing
to like 20px and that would do the job for me
Now the question would be how do I pass this styling in YAML to fix that?
Some parameters can be passed in the , but those are related to text itself
But I somehown can’t modify that one related to leaflet-tooltip-right
Is that possible in YAML?
If not maybe I can hard hack the CSS for all the floorplans but here I have a problem finding the CSS on the OH3 server that is serving it
You can try searching the forums for the stylesheet property (which was added back in march or april if I recall). That allows page level css styling for widgets and other UI pages, I don’t know if it applies to the floorplans or not.
tooltipstyle works nice but it does the styling within the leaflet-tooltip, so margin-left: 100px does move text within the tooltip.
How about just hard hacking the whole leaflet CSS. with larger tooltip margin?
Where is this CSS located on the server so I can modify once for all the tooltips?