diff --git a/apps/potlock/widget/Cart/BreakdownSummary.jsx b/apps/potlock/widget/Cart/BreakdownSummary.jsx index 35d8b143..5c622368 100644 --- a/apps/potlock/widget/Cart/BreakdownSummary.jsx +++ b/apps/potlock/widget/Cart/BreakdownSummary.jsx @@ -5,6 +5,9 @@ const { recipientId, potRferralFeeBasisPoints, ftIcon, + bypassChefFee, + chef, + chefFeeBasisPoints, } = props; const { basisPointsToPercent } = VM.require("potlock.near/widget/utils") || { basisPointsToPercent: () => 0, @@ -30,8 +33,8 @@ const CHEVRON_UP_URL = IPFS_BASE_URL + "bafkreibdm7w6zox4znipjqlmxr66wsjjpqq4dguswo7evvrmzlnss3c3vi"; const SvgIcon = styled.svg` - width: 20px; - height: 20px; + width: 16px; + height: 16px; `; const BreakdownSummary = styled.div` @@ -39,16 +42,14 @@ const BreakdownSummary = styled.div` flex-direction: column; align-items: center; width: 100%; - cursor: pointer; .breakdown-details { display: flex; flex-direction: column; width: 100%; margin-top: 8px; gap: 12px; - border-radius: 8px; border: 1px #dbdbdb solid; - background: #fafafa; + border-radius: 8px; transition: all 300ms ease-in-out; &.hidden { visibility: hidden; @@ -62,7 +63,7 @@ const BreakdownSummary = styled.div` const Header = styled.div` display: flex; flex-direction: row; - justify-content: flex-end; + justify-content: flex-start; align-items: center; width: 100%; `; @@ -70,8 +71,7 @@ const Header = styled.div` const BreakdownTitle = styled.div` color: #2e2e2e; font-size: 14px; - line-height: 16px; - font-weight: 600; + font-weight: 500; word-wrap: break-word; `; @@ -113,7 +113,6 @@ const BreakdownItem = styled.div` const BreakdownItemLeft = styled.div` color: #7b7b7b; font-size: 14px; - line-height: 20px; font-weight: 400; word-wrap: break-word; `; @@ -121,8 +120,8 @@ const BreakdownItemLeft = styled.div` const BreakdownItemRight = styled.div` display: flex; flex-direction: row; - // justify-content: flex-end; align-items: center; + font-weight: 500; gap: 8px; `; @@ -135,43 +134,47 @@ const BreakdownAmount = styled.div` `; const Icon = styled.img` - width: 24px; - height: 24px; + width: 16px; + height: 16px; `; const NearIcon = (props) => ( -