fix: update thumbnail tooltip max-height to responsive viewport units in InboxDetailPage
Build and Push Multi-Platform Images / build-and-push (push) Successful in 18s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 18s
This commit is contained in:
@@ -610,7 +610,7 @@ function DownloadSegmentsDialog({ open, fileId, fileName, documents, thumbUrls,
|
|||||||
return (
|
return (
|
||||||
<div key={doc.index} style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
|
<div key={doc.index} style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title={thumbUrl ? <img src={thumbUrl} style={{ maxWidth: 260, maxHeight: 340, display: 'block' }} alt="" /> : null}
|
title={thumbUrl ? <img src={thumbUrl} style={{ maxWidth: 260, maxHeight: '70vh', display: 'block' }} alt="" /> : null}
|
||||||
placement="right"
|
placement="right"
|
||||||
mouseEnterDelay={0.2}
|
mouseEnterDelay={0.2}
|
||||||
>
|
>
|
||||||
@@ -742,7 +742,7 @@ function SendEmailDialog({ open, fileId, fileName, documents, thumbUrls, onClose
|
|||||||
return (
|
return (
|
||||||
<div key={doc.index} style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
|
<div key={doc.index} style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title={thumbUrl ? <img src={thumbUrl} style={{ maxWidth: 260, maxHeight: 340, display: 'block' }} alt="" /> : null}
|
title={thumbUrl ? <img src={thumbUrl} style={{ maxWidth: 260, maxHeight: '70vh', display: 'block' }} alt="" /> : null}
|
||||||
placement="right"
|
placement="right"
|
||||||
mouseEnterDelay={0.2}
|
mouseEnterDelay={0.2}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user