From f9f8bed7f6e3031b4b62370ef0e885ca62def3f8 Mon Sep 17 00:00:00 2001 From: Tim Fischbach Date: Tue, 6 Aug 2024 15:46:23 +0200 Subject: [PATCH] Remove spacing above sole button in hotspots tooltip REDMINE-20673 --- .../scrolled/package/src/contentElements/hotspots/Tooltip.js | 3 ++- .../package/src/contentElements/hotspots/Tooltip.module.css | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js b/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js index dd4ba8a3e..ecdff1d20 100644 --- a/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js +++ b/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.js @@ -185,7 +185,8 @@ export function Tooltip({ } -
+
{presentOrEditing('title') &&

diff --git a/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.module.css b/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.module.css index 219d18110..23abe7862 100644 --- a/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.module.css +++ b/entry_types/scrolled/package/src/contentElements/hotspots/Tooltip.module.css @@ -124,6 +124,10 @@ border: solid 1px color-mix(in srgb, currentColor, transparent); } +.textWrapper > :first-child .link { + margin-top: 0; +} + .link:hover, .link:active { border: solid 1px currentColor;