Merge pull request #8037 from overleaf/ii-refactor-tooltip-usage-fix

Place the download PDF tooltip to the bottom

GitOrigin-RevId: e2171c4417de66f2143be66dc76ca7c450c43234
This commit is contained in:
Alf Eaton 2022-05-19 13:45:20 +01:00 committed by Copybot
parent 81816cfa2c
commit bce320f4bc

View file

@ -13,7 +13,11 @@ function PdfHybridDownloadButton() {
: t('please_compile_pdf_before_download') : t('please_compile_pdf_before_download')
return ( return (
<Tooltip id="logs-toggle" description={description}> <Tooltip
id="logs-toggle"
description={description}
overlayProps={{ placement: 'bottom' }}
>
<Button <Button
bsStyle="link" bsStyle="link"
disabled={!pdfDownloadUrl} disabled={!pdfDownloadUrl}