Skip to content

Commit

Permalink
fix: changed overflow scroll to only if necessary (#3184)
Browse files Browse the repository at this point in the history
  • Loading branch information
OwsleyJr committed Dec 27, 2022
1 parent 03853a1 commit 27feeea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/StatusBadge/index.tsx
Expand Up @@ -136,7 +136,7 @@ const StatusBadge = ({
<Tooltip
content={inProgress && tooltipContent}
className={`${
inProgress && 'hidden max-h-96 w-96 overflow-scroll sm:block'
inProgress && 'hidden max-h-96 w-96 overflow-y-auto sm:block'
}`}
tooltipConfig={{ interactive: true, delayHide: 100 }}
>
Expand Down Expand Up @@ -187,7 +187,7 @@ const StatusBadge = ({
<Tooltip
content={inProgress && tooltipContent}
className={`${
inProgress && 'hidden max-h-96 w-96 overflow-scroll sm:block'
inProgress && 'hidden max-h-96 w-96 overflow-y-auto sm:block'
}`}
tooltipConfig={{ interactive: true, delayHide: 100 }}
>
Expand Down Expand Up @@ -238,7 +238,7 @@ const StatusBadge = ({
<Tooltip
content={inProgress && tooltipContent}
className={`${
inProgress && 'hidden max-h-96 w-96 overflow-scroll sm:block'
inProgress && 'hidden max-h-96 w-96 overflow-y-auto sm:block'
}`}
tooltipConfig={{ interactive: true, delayHide: 100 }}
>
Expand Down

0 comments on commit 27feeea

Please sign in to comment.