mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 04:11:09 +00:00
Ensure unique ids for tooltips (#13079)
GitOrigin-RevId: 9b6e5c60dade356549bb1b3fd9c6254ab00ace56
This commit is contained in:
parent
60370d5227
commit
fefc8384fb
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ function DetachCompileButton() {
|
||||||
return (
|
return (
|
||||||
<div className="detach-compile-button-container">
|
<div className="detach-compile-button-container">
|
||||||
<Tooltip
|
<Tooltip
|
||||||
id="logs-toggle"
|
id="detach-compile"
|
||||||
description={tooltipElement}
|
description={tooltipElement}
|
||||||
tooltipProps={{ className: 'keyboard-tooltip' }}
|
tooltipProps={{ className: 'keyboard-tooltip' }}
|
||||||
overlayProps={{ delayShow: 500 }}
|
overlayProps={{ delayShow: 500 }}
|
||||||
|
|
|
@ -56,7 +56,7 @@ function PdfCompileButton() {
|
||||||
button={{
|
button={{
|
||||||
tooltip: {
|
tooltip: {
|
||||||
description: tooltipElement,
|
description: tooltipElement,
|
||||||
id: 'logs-toggle',
|
id: 'compile',
|
||||||
tooltipProps: { className: 'keyboard-tooltip' },
|
tooltipProps: { className: 'keyboard-tooltip' },
|
||||||
overlayProps: { delayShow: 500 },
|
overlayProps: { delayShow: 500 },
|
||||||
},
|
},
|
||||||
|
|
|
@ -22,7 +22,7 @@ function PdfHybridDownloadButton() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
id="logs-toggle"
|
id="download-pdf"
|
||||||
description={description}
|
description={description}
|
||||||
overlayProps={{ placement: 'bottom' }}
|
overlayProps={{ placement: 'bottom' }}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue