fix to style on chart.tsx
This commit is contained in:
parent
5f049aad5b
commit
47e1204be7
|
@ -11,7 +11,8 @@ interface ChartProps {
|
|||
|
||||
export function Chart({...props}: ChartProps) {
|
||||
return (
|
||||
<div className={"text-[#F0F0F0]"}>
|
||||
<div className={"text-[#F0F0F0] flex-1 flex items-end"}>
|
||||
<div className={"w-full"}>
|
||||
<div className={"flex flex-row justify-between w-full items-end"}>
|
||||
{props.data.map((item, index) => (
|
||||
<Santa height={item.total} key={index}/>
|
||||
|
@ -26,5 +27,6 @@ export function Chart({...props}: ChartProps) {
|
|||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue