From 1e24972aa7c6200ead1a888100d005b86fabc94d Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 25 Jan 2022 14:35:26 +0000 Subject: [PATCH] tooltip styling fixes --- .../Asset/AssetActions/Pool/Graph/_constants.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/Asset/AssetActions/Pool/Graph/_constants.ts b/src/components/Asset/AssetActions/Pool/Graph/_constants.ts index 2f09d6c83..54554876b 100644 --- a/src/components/Asset/AssetActions/Pool/Graph/_constants.ts +++ b/src/components/Asset/AssetActions/Pool/Graph/_constants.ts @@ -62,5 +62,19 @@ export const tooltipOptions: Partial = { padding: 10, cornerRadius: 3, borderWidth: 1, - caretSize: 7 + caretSize: 7, + bodyFont: { + size: 13, + weight: 'bold', + lineHeight: 1, + style: 'normal', + family: defaults.font.family + }, + titleFont: { + size: 10, + weight: 'normal', + lineHeight: 1, + style: 'normal', + family: defaults.font.family + } }