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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>