Skip to content

Commit

Permalink
Move z-index of pizza reactions higher
Browse files Browse the repository at this point in the history
  • Loading branch information
ollfkaih committed Feb 5, 2025
1 parent 47afacd commit 00a8906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/components/Tooltip/Tooltip.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@
.arrow {
animation: fade-in 0.2s;
}

.zIndex { z-index: 6}
3 changes: 2 additions & 1 deletion app/components/Tooltip/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import cx from 'classnames';
import { useState } from 'react';
import { Popover, ArrowContainer } from 'react-tiny-popover';
import styles from './Tooltip.module.css';
Expand Down Expand Up @@ -37,7 +38,7 @@ const Tooltip = ({
<Popover
isOpen={hovered}
positions={positions}
containerClassName={containerClassName}
containerClassName={cx(containerClassName, styles.zIndex)}
content={({ position, childRect, popoverRect }) => (
<ArrowContainer
position={position}
Expand Down

0 comments on commit 00a8906

Please sign in to comment.