/bookings: only show timezone popover on hover (#6112)

This commit is contained in:
Peer Richelsen authored and GitHub committed 2022-12-19 13:56:34 -05:00
1 parent f254711d85
commit ae541e4c37
2 files changed
+3 -3

No files matched your search

@@ -54,14 +54,14 @@ const MeetingTimeInTimezones = ({
<Popover.Root>
<Popover.Trigger
onClick={preventBubbling}
className="popover-button ml-2 inline-flex h-5 w-5 items-center justify-center rounded-sm text-gray-900 transition-colors hover:bg-gray-200 focus:bg-gray-200">
className="popover-button invisible ml-2 inline-flex h-5 w-5 items-center justify-center rounded-sm text-gray-900 transition-colors hover:bg-gray-200 focus:bg-gray-200 group-hover:visible">
<Icon.FiGlobe />
</Popover.Trigger>
<Popover.Portal>
<Popover.Content
onClick={preventBubbling}
side="top"
className="popover-content slideInBottom shadow-dropdown border-5 bg-brand-500 rounded-md border-gray-200 p-3 text-sm text-white shadow-sm">
className="popover-content slideInBottom border-5 bg-brand-500 rounded-md border-gray-200 p-3 text-sm text-white shadow-sm">
{times.map((time) => (
<span className="mt-2 block first:mt-0" key={time.timezone}>
<span className="inline-flex align-baseline">