mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-22 21:06:40 +08:00
💄 Fix time filter background in analytics
This commit is contained in:
parent
33b36d76fc
commit
f96d2aa21f
@ -39,7 +39,7 @@ export const StatsCards = ({
|
||||
alignItems="center"
|
||||
{...props}
|
||||
>
|
||||
<Stat bgColor={bg} p="4" rounded="md" boxShadow="md">
|
||||
<Stat bgColor={bg} p="4" rounded="md" boxShadow="md" borderWidth={1}>
|
||||
<StatLabel>{t("analytics.viewsLabel")}</StatLabel>
|
||||
{stats ? (
|
||||
<StatNumber>{stats.totalViews}</StatNumber>
|
||||
@ -47,7 +47,7 @@ export const StatsCards = ({
|
||||
<Skeleton w="50%" h="10px" mt="2" />
|
||||
)}
|
||||
</Stat>
|
||||
<Stat bgColor={bg} p="4" rounded="md" boxShadow="md">
|
||||
<Stat bgColor={bg} p="4" rounded="md" boxShadow="md" borderWidth={1}>
|
||||
<StatLabel>{t("analytics.startsLabel")}</StatLabel>
|
||||
{stats ? (
|
||||
<StatNumber>{stats.totalStarts}</StatNumber>
|
||||
@ -55,7 +55,7 @@ export const StatsCards = ({
|
||||
<Skeleton w="50%" h="10px" mt="2" />
|
||||
)}
|
||||
</Stat>
|
||||
<Stat bgColor={bg} p="4" rounded="md" boxShadow="md">
|
||||
<Stat bgColor={bg} p="4" rounded="md" boxShadow="md" borderWidth={1}>
|
||||
<StatLabel>{t("analytics.completionRateLabel")}</StatLabel>
|
||||
{stats ? (
|
||||
<StatNumber>
|
||||
@ -71,7 +71,7 @@ export const StatsCards = ({
|
||||
<TimeFilterSelect
|
||||
timeFilter={timeFilter}
|
||||
onTimeFilterChange={onTimeFilterChange}
|
||||
className="shadow-md"
|
||||
className="shadow-md bg-gray-1"
|
||||
/>
|
||||
</SimpleGrid>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user