Skip to content

Commit

Permalink
Remove spacing above sole button in hotspots tooltip
Browse files Browse the repository at this point in the history
REDMINE-20673
  • Loading branch information
tf committed Aug 6, 2024
1 parent d059f1e commit f9f8bed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ export function Tooltip({
<InlineFileRights context="afterElement" items={[{file: tooltipImageFile, label: 'image'}]} />
</div>
</>}
<div onKeyDown={handleKeyDown}>
<div className={styles.textWrapper}
onKeyDown={handleKeyDown}>
{presentOrEditing('title') &&
<h3 id={`hotspots-tooltip-title-${contentElementId}-${area.id}`}>
<Text inline scaleCategory="hotspotsTooltipTitle">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f9f8bed

Please sign in to comment.