mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
Fix tooltip sizing for websitechart
This commit is contained in:
parent
2c7ab2b734
commit
156222e0c9
3 changed files with 5 additions and 51 deletions
|
|
@ -19,9 +19,11 @@ export function ChartTooltip({
|
|||
borderRadius="md"
|
||||
style={{ backgroundColor: 'rgba(0,0,0,0.8)' }}
|
||||
>
|
||||
{title}
|
||||
{title && <Text size="sm">{title}</Text>}
|
||||
<Row alignItems="center">
|
||||
<StatusLight color={color}>{value}</StatusLight>
|
||||
<StatusLight color={color}>
|
||||
<Text size="sm">{value}</Text>
|
||||
</StatusLight>
|
||||
</Row>
|
||||
</Column>
|
||||
</FloatingTooltip>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue