mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
This commit is contained in:
parent
d26ed3b949
commit
8cd3c03702
3 changed files with 8 additions and 3 deletions
|
|
@ -14,10 +14,10 @@ export function ChartTooltip({
|
|||
<FloatingTooltip>
|
||||
<Column
|
||||
gap="3"
|
||||
backgroundColor="surface-inverted"
|
||||
color="inverted"
|
||||
padding="4"
|
||||
borderRadius="md"
|
||||
style={{ backgroundColor: 'rgba(0,0,0,0.8)' }}
|
||||
>
|
||||
{title}
|
||||
<Row alignItems="center">
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ export function WeeklyTraffic({ websiteId }: { websiteId: string }) {
|
|||
/>
|
||||
</Row>
|
||||
</Focusable>
|
||||
<Tooltip placement="right">
|
||||
<Tooltip placement="right" style={{ backgroundColor: 'rgba(0,0,0,0.8)' }}>
|
||||
<Text size="base">{`${t(labels.visitors)}: ${count}`}</Text>
|
||||
</Tooltip>
|
||||
</TooltipTrigger>
|
||||
|
|
|
|||
|
|
@ -101,7 +101,12 @@ export function WorldMap({ websiteId, data, ...props }: WorldMapProps) {
|
|||
</ComposableMap>
|
||||
{tooltip && (
|
||||
<FloatingTooltip>
|
||||
<Box backgroundColor="surface-inverted" color="inverted" padding borderRadius="md">
|
||||
<Box
|
||||
style={{ backgroundColor: 'rgba(0,0,0,0.8)' }}
|
||||
color="inverted"
|
||||
padding
|
||||
borderRadius="md"
|
||||
>
|
||||
{tooltip}
|
||||
</Box>
|
||||
</FloatingTooltip>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue