Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/growthepie/gtp-frontend into…
Browse files Browse the repository at this point in the history
… dev
  • Loading branch information
mokelgit committed Jan 15, 2025
2 parents 14e3ac2 + dcc3e11 commit 5804ed8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions components/layout/Economics/HeadCharts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ export default function EconHeadCharts({

return (
<SplideSlide key={"Splide" + key}>
<div className="relative flex flex-col w-full overflow-visible h-[197px] bg-[#1F2726] rounded-2xl group ">
<div className="relative flex flex-col w-full overflow-hidden h-[197px] bg-[#1F2726] rounded-2xl group ">
<div
className={`absolute items-center text-[16px] font-bold top-[15px] left-[15px] flex gap-x-[10px] z-10 ${link ? "cursor-pointer" : ""
}`}
Expand Down Expand Up @@ -674,10 +674,10 @@ export default function EconHeadCharts({
minimumFractionDigits: 2,
}).format(sumDisplayValue)}
</div>
<hr className="absolute w-full border-t-[2px] top-[51px] border-[#5A64624F] my-4" />
<hr className="absolute w-full border-t-[2px] top-[89px] border-[#5A64624F] my-4" />
<hr className="absolute w-full border-t-[2px] top-[126px] border-[#5A64624F] my-4" />
<div className="absolute bottom-[41.5%] left-0 right-0 flex items-center justify-center pointer-events-none z-0 opacity-20">
<hr className="absolute w-full border-t-[2px] top-[54px] border-[#5A64624F] my-4" />
<hr className="absolute w-full border-t-[2px] top-[95px] border-[#5A64624F] my-4" />
<hr className="absolute w-full border-t-[2px] top-[137px] border-[#5A64624F] my-4" />
<div className="absolute bottom-[38.5%] left-0 right-0 flex items-center justify-center pointer-events-none z-0 opacity-20">
<ChartWatermark className="w-[128.54px] h-[25.69px] text-forest-300 dark:text-[#EAECEB] mix-blend-darken dark:mix-blend-lighten" />
</div>

Expand Down Expand Up @@ -831,7 +831,7 @@ export default function EconHeadCharts({
style={{ borderRadius: 15 }}
animation={{ duration: 50 }}
// margin={[0, 15, 0, 0]} // Use the array form for margin
margin={[33, 21, 15, 0]}
margin={[33, 21, 0, 0]}
spacingBottom={0}
spacingTop={40}
spacingLeft={10}
Expand Down Expand Up @@ -1005,7 +1005,7 @@ export default function EconHeadCharts({
fontFamily: "var(--font-raleway), sans-serif",
zIndex: 1000,
},
enabled: true,
enabled: false,
formatter: (item) => {
const date = new Date(item.value);
const isMonthStart = date.getDate() === 1;
Expand Down

0 comments on commit 5804ed8

Please sign in to comment.