feat: auto-position tooltip and suport overflowing container (#3631)

This commit is contained in:
David Luzar
2021-05-25 13:52:04 +02:00
committed by GitHub
parent 0bbb4535cf
commit 357266e9ab
4 changed files with 100 additions and 76 deletions

View File

@ -340,7 +340,7 @@ const ExcalidrawWrapper = () => {
rel="noopener noreferrer"
aria-label={t("encrypted.link")}
>
<Tooltip label={t("encrypted.tooltip")} position="above" long={true}>
<Tooltip label={t("encrypted.tooltip")} long={true}>
{shield}
</Tooltip>
</a>