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

@ -67,11 +67,7 @@ export const actionChangeExportEmbedScene = register({
onChange={(event) => updateData(event.target.checked)}
/>{" "}
{t("labels.exportEmbedScene")}
<Tooltip
label={t("labels.exportEmbedScene_details")}
position="above"
long={true}
>
<Tooltip label={t("labels.exportEmbedScene_details")} long={true}>
<div className="TooltipIcon">{questionCircle}</div>
</Tooltip>
</label>