From d81457b87893d0c30eaf13e9a3804b9fb8a8f210 Mon Sep 17 00:00:00 2001
From: Frank Sauerburger <frank@sauerburger.com>
Date: Mon, 29 Mar 2021 13:37:24 +0200
Subject: [PATCH] Prevent SVG sans-serif propagation to the document

Closes #68
---
 uhepp-js/src/components/UheppHist.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uhepp-js/src/components/UheppHist.jsx b/uhepp-js/src/components/UheppHist.jsx
index 9c4923b..4033ea2 100644
--- a/uhepp-js/src/components/UheppHist.jsx
+++ b/uhepp-js/src/components/UheppHist.jsx
@@ -740,7 +740,7 @@ const UheppHistPost = ({width, height, uhepp}) => {
            ref={svgRef}
            onMouseOut={() => setHighlightedBin(null)} >
         <style>
-        * {'{font-family: sans-serif}'}
+        svg * {'{font-family: sans-serif}'}
         rect {'{shape-rendering: crispEdges }'}
         .uhepp-brand {'{font-style: italic; font-weight: bold}'}
         .uhepp-brand, .uhepp-label {'{font-size: 20px}'}
-- 
GitLab