From 25ff3d6606f73f248a1a442f35daf66f18ddf791 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 2 May 2024 13:35:26 +0200 Subject: [PATCH 1/2] Fix tippy padding on heatmap --- web_src/css/modules/tippy.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_src/css/modules/tippy.css b/web_src/css/modules/tippy.css index 53c3d5aaeac6e..19b007f6290d3 100644 --- a/web_src/css/modules/tippy.css +++ b/web_src/css/modules/tippy.css @@ -28,6 +28,11 @@ z-index: 1; } +/* for vue3-calendar-heatmap's tippy instances */ +.tippy-content:not([data-theme]) { + padding: 8px 14px; +} + /* bare theme, no styling at all, except box-shadow */ .tippy-box[data-theme="bare"] { border: none; From e0d170c1b9cf57e9311a5f1d1d6e9fc3f139ea0c Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 2 May 2024 13:39:53 +0200 Subject: [PATCH 2/2] tweak --- web_src/css/modules/tippy.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web_src/css/modules/tippy.css b/web_src/css/modules/tippy.css index 19b007f6290d3..b62f906870213 100644 --- a/web_src/css/modules/tippy.css +++ b/web_src/css/modules/tippy.css @@ -29,8 +29,11 @@ } /* for vue3-calendar-heatmap's tippy instances */ -.tippy-content:not([data-theme]) { - padding: 8px 14px; +.tippy-box:not([data-theme]) { + padding: 0.5rem 1rem; + background-color: var(--color-tooltip-bg); + color: var(--color-tooltip-text); + border: none; } /* bare theme, no styling at all, except box-shadow */