From 3ebb654798a876d2ecc64642511ad3ce520a36a9 Mon Sep 17 00:00:00 2001 From: dleadbetter Date: Tue, 13 Aug 2024 10:56:49 -0400 Subject: [PATCH] RC #291 - Adding styling to event popover --- .../core-data/src/components/FacetTimeline.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/packages/core-data/src/components/FacetTimeline.js b/packages/core-data/src/components/FacetTimeline.js index 38a5c4a0..f6647868 100644 --- a/packages/core-data/src/components/FacetTimeline.js +++ b/packages/core-data/src/components/FacetTimeline.js @@ -1,6 +1,6 @@ // @flow -import { useTimer } from '@performant-software/shared-components'; +import { Numbers, useTimer } from '@performant-software/shared-components'; import * as Popover from '@radix-ui/react-popover'; import * as Slider from '@radix-ui/react-slider'; import { clsx } from 'clsx'; @@ -248,8 +248,7 @@ const FacetTimeline = (props: Props) => { return (
{ right: 20, bottom: 10 }} - sideOffset={-20} + sideOffset={Numbers.getRandomInt(-30, 10)} side='top' >