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?
is there still a check mark somewhere that needs to be activated? I have tried the same thing. However, it does not work.
I also tried it with a f7-icon and also cleared my browser cache. without success.
Helpful is also this docu about the floor plan markers. If it would work then?
hey guys, can we make tooltip text larger? no matter what tooltip font size i configure its always the same (very small like in your picture).
I tried to define tooltip size to any number, and then in the code I tried to remove " " because this was the case with some other parameter which was not working because " " needed to be removed.
In any case, it doesn’t change the font size for mi, with or without “”