Fix layout issue

This commit is contained in:
Thomas Nordquist
2019-07-17 09:14:32 +02:00
parent 1cef529ac7
commit 0a5d010827

View File

@@ -2,7 +2,6 @@ import React, { memo } from 'react'
import { fade } from '@material-ui/core/styles' import { fade } from '@material-ui/core/styles'
import { Fade, Grow, Paper, Popper, Theme, Typography, withTheme } from '@material-ui/core' import { Fade, Grow, Paper, Popper, Theme, Typography, withTheme } from '@material-ui/core'
import { Tooltip } from './Model' import { Tooltip } from './Model'
const { Hint } = require('react-vis')
function TooltipComponent(props: { tooltip?: Tooltip; theme: Theme }) { function TooltipComponent(props: { tooltip?: Tooltip; theme: Theme }) {
const { tooltip } = props const { tooltip } = props
@@ -11,7 +10,6 @@ function TooltipComponent(props: { tooltip?: Tooltip; theme: Theme }) {
style={Boolean(tooltip) ? { transition: 'all 0.1s ease-out' } : undefined} style={Boolean(tooltip) ? { transition: 'all 0.1s ease-out' } : undefined}
open={Boolean(tooltip)} open={Boolean(tooltip)}
transition={true} transition={true}
keepMounted={true}
placement="top" placement="top"
anchorEl={tooltip && tooltip.element} anchorEl={tooltip && tooltip.element}
> >