fix: changed overflow scroll to only if necessary (#3184)

pull/3185/head
Brandon Cohen 2 years ago committed by GitHub
parent 03853a1b91
commit 27feeea691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,7 +136,7 @@ const StatusBadge = ({
<Tooltip <Tooltip
content={inProgress && tooltipContent} content={inProgress && tooltipContent}
className={`${ 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 }} tooltipConfig={{ interactive: true, delayHide: 100 }}
> >
@ -187,7 +187,7 @@ const StatusBadge = ({
<Tooltip <Tooltip
content={inProgress && tooltipContent} content={inProgress && tooltipContent}
className={`${ 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 }} tooltipConfig={{ interactive: true, delayHide: 100 }}
> >
@ -238,7 +238,7 @@ const StatusBadge = ({
<Tooltip <Tooltip
content={inProgress && tooltipContent} content={inProgress && tooltipContent}
className={`${ 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 }} tooltipConfig={{ interactive: true, delayHide: 100 }}
> >

Loading…
Cancel
Save