From d24b4d20610308a7f55e8ebc3d7a404eb082676c Mon Sep 17 00:00:00 2001 From: Dalvany <9901407+Dalvany@users.noreply.github.com> Date: Tue, 6 Jul 2021 20:05:55 +0200 Subject: [PATCH] Fix underline size Missing font size unit --- docker-compose.yml | 2 +- src/DynamicImagePanel.tsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 01f87db..eb92781 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,4 +7,4 @@ grafana: environment: - TERM=linux - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=dalvany-image-panel - #- GF_INSTALL_PLUGINS=dalvany-image-panel + - GF_INSTALL_PLUGINS=marcusolsson-static-datasource diff --git a/src/DynamicImagePanel.tsx b/src/DynamicImagePanel.tsx index 405901f..43f3739 100644 --- a/src/DynamicImagePanel.tsx +++ b/src/DynamicImagePanel.tsx @@ -144,6 +144,8 @@ export class Image extends PureComponent { } // End handles overlay + let underline_size_px = underline_size + 'px'; + if (tooltip === null || tooltip === '') { return (
@@ -173,7 +175,7 @@ export class Image extends PureComponent {
{