Skip to content

Commit

Permalink
fix ui issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zkLeonardo committed Aug 8, 2024
1 parent eaae476 commit d61a473
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/DashboardS2/Tabs/EcoDApps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,13 @@ const DetailBox = styled.div`
}
.detail-row {
padding: 0 24px;
&.rounded-bottom {
border-radius: 0 0 16px 16px;
}
background: #0d0f14;
.detail-item {
padding: 24px;
padding: 24px 0;
}
}
`;
Expand Down Expand Up @@ -470,16 +471,16 @@ const EcoDApp = (props: {
<DetailBox className="w-full mt-[4px] px-[7px]">
{data.details.map((detail, index) => (
<div
className={`detail-row mb-[8px] flex justify-between ${
className={`detail-row mb-[8px] flex justify-between gap-[16px] ${
index === data.details.length - 1 ? "rounded-bottom" : ""
}`}
key={index}
>
<div className="detail-item min-w-[440px] w-[440px]">
<div className="detail-item min-w-[380px] w-[380px]">
<div className="detail-label">Booster</div>
<div className="detail-value">{detail.booster}</div>
</div>
<div className="detail-item min-w-[480px] w-[480px]">
<div className="detail-item min-w-[360px] w-[360px]">
<div className="detail-label">Description</div>
<div className="detail-value">
{detail.description}
Expand Down

0 comments on commit d61a473

Please sign in to comment.