fix: UI fixes and improvements (#559)

* chore: add cursor pointer

* fix: tooltip color

* chore: add tooltip

* fix: admin pages in mobile
This commit is contained in:
Udit Takkar
2023-10-19 15:30:36 +05:30
committed by Mythie
parent dec587e39e
commit 6de14ab0ac
9 changed files with 58 additions and 21 deletions

View File

@ -46,6 +46,9 @@ export const BarMetric = <T extends Record<string, Record<keyof T[string], unkno
<XAxis dataKey="month" />
<YAxis />
<Tooltip
labelStyle={{
color: 'hsl(var(--primary-foreground))',
}}
itemStyle={{
color: 'hsl(var(--primary-foreground))',
}}

View File

@ -71,7 +71,7 @@ export const CapTable = ({ className, ...props }: CapTableProps) => {
</Pie>
<Legend
formatter={(value) => {
return <span className="text-sm text-black">{value}</span>;
return <span className="text-foreground text-sm">{value}</span>;
}}
/>
<Tooltip

View File

@ -35,6 +35,9 @@ export const FundingRaised = ({ className, data, ...props }: FundingRaisedProps)
}
/>
<Tooltip
labelStyle={{
color: 'hsl(var(--primary-foreground))',
}}
itemStyle={{
color: 'hsl(var(--primary-foreground))',
}}