From 5e3a7d430706eaaa94ddc8aa3af6c38961d8b970 Mon Sep 17 00:00:00 2001 From: ma0068 Date: Tue, 23 Apr 2024 08:12:57 +0200 Subject: [PATCH] bugfix tooltip --- public/js/components/Notiz/NotizComponent.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/js/components/Notiz/NotizComponent.js b/public/js/components/Notiz/NotizComponent.js index 663376aa4..3774c56f7 100644 --- a/public/js/components/Notiz/NotizComponent.js +++ b/public/js/components/Notiz/NotizComponent.js @@ -41,9 +41,13 @@ export default { tooltip:function(e, cell, onRendered){ var el = document.createElement("div"); el.style.backgroundColor = "white"; + el.style.color = "black"; el.style.fontWeight = "bold"; el.style.padding = "5px"; el.style.border = "1px solid black"; + el.style.borderRadius = "5px"; + + el.innerText = cell.getValue(); el.innerText = cell.getColumn().getField() + " - " + cell.getValue(); @@ -57,6 +61,7 @@ export default { tooltip:function(e, cell, onRendered){ var el = document.createElement("div"); el.style.backgroundColor = "white"; + el.style.color = "black"; el.style.fontWeight = "bold"; el.style.padding = "5px"; el.style.border = "1px solid black";