mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Fixed tooltip text sizes.
This commit is contained in:
parent
f595da612c
commit
af2c823c1b
3 changed files with 4 additions and 6 deletions
|
|
@ -19,11 +19,9 @@ export function ChartTooltip({
|
|||
padding="4"
|
||||
borderRadius="md"
|
||||
>
|
||||
{title && <Text size="sm">{title}</Text>}
|
||||
{title}
|
||||
<Row alignItems="center">
|
||||
<StatusLight color={color}>
|
||||
<Text size="sm">{value}</Text>
|
||||
</StatusLight>
|
||||
<StatusLight color={color}>{value}</StatusLight>
|
||||
</Row>
|
||||
</Column>
|
||||
</FloatingTooltip>
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ export function WeeklyTraffic({ websiteId }: { websiteId: string }) {
|
|||
</Row>
|
||||
</Focusable>
|
||||
<Tooltip placement="right">
|
||||
<Text size="base">{`${formatMessage(labels.visitors)}: ${count}`}</Text>
|
||||
<Text>{`${formatMessage(labels.visitors)}: ${count}`}</Text>
|
||||
</Tooltip>
|
||||
</TooltipTrigger>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ export function WorldMap({ websiteId, data, ...props }: WorldMapProps) {
|
|||
{tooltip && (
|
||||
<FloatingTooltip>
|
||||
<Box backgroundColor="surface-inverted" color="inverted" padding borderRadius="md">
|
||||
<Text size="sm">{tooltip}</Text>
|
||||
{tooltip}
|
||||
</Box>
|
||||
</FloatingTooltip>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue