From 6ccfeea0682bf47ba5bbfb4a3a62ce5c9878699e Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Thu, 2 Sep 2021 13:28:35 +0200 Subject: [PATCH] Style tweaks --- .../src/panels/DetailPanel/ProjectDetails/ProjectDetails.tsx | 2 +- theatre/studio/src/uiComponents/Popover/PopoverArrow.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/theatre/studio/src/panels/DetailPanel/ProjectDetails/ProjectDetails.tsx b/theatre/studio/src/panels/DetailPanel/ProjectDetails/ProjectDetails.tsx index e70ea0d..6d3bb19 100644 --- a/theatre/studio/src/panels/DetailPanel/ProjectDetails/ProjectDetails.tsx +++ b/theatre/studio/src/panels/DetailPanel/ProjectDetails/ProjectDetails.tsx @@ -59,7 +59,7 @@ const ProjectDetails: React.FC<{ }, []) const [tooltip, openExportTooltip] = usePopover( - {pointerDistanceThreshold: 50, closeWhenPointerIsDistant: false}, + {pointerDistanceThreshold: 50}, () => ( This will create a JSON file with the state of your project. You can diff --git a/theatre/studio/src/uiComponents/Popover/PopoverArrow.tsx b/theatre/studio/src/uiComponents/Popover/PopoverArrow.tsx index 51e88eb..fb09777 100644 --- a/theatre/studio/src/uiComponents/Popover/PopoverArrow.tsx +++ b/theatre/studio/src/uiComponents/Popover/PopoverArrow.tsx @@ -17,6 +17,7 @@ const Adjust = styled.div` left: -7px; top: -8px; text-align: center; + line-height: 0; ` type Props = {