Skip to content

Commit b7ceb97

Browse files
committed
fix: add margin to the bounty submission
1 parent b72662f commit b7ceb97

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

src/components/cards/Bounty.tsx

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default function BountyCard({ bounty }: BountyProps): ReactElement {
9797
</Component>
9898
</div>
9999
{bounty.submissions?.length ? (
100-
<div className="mt-4 space-y-0 divide-y divide-gray-200 border-t border-t-solid border-gray-200 md:w-10/12 md:self-center">
100+
<div className="mt-4 space-y-0 divide-y divide-gray-200 border-t border-t-solid border-gray-200 md:w-10/12 md:self-center mx-2">
101101
{bounty.submissions.map((submission) => (
102102
<div className="flex space-x-1 relative text-sm font-medium py-3" key={submission.id}>
103103
<div className="flex justify-between w-full pr-0 gap-1 sm:gap-0">
@@ -129,31 +129,6 @@ export default function BountyCard({ bounty }: BountyProps): ReactElement {
129129
) : (
130130
<></>
131131
)}
132-
{/* <Component className="self-start relative mt-15 md:mt-7" href={link}>
133-
<Avatar
134-
icon={bounty.icon}
135-
image={bounty.image}
136-
color={bounty.colors?.cover?.background || bounty.colors?.primary}
137-
size="medium-fixed"
138-
shape="rounded"
139-
className="w-15 h-15 rounded-xl overflow-hidden"
140-
user={null}
141-
useLink={false}
142-
/>
143-
{bounty?.submissions && (
144-
<Badge
145-
customStyle={{
146-
bottom: "-4px",
147-
right: "-4px",
148-
fontSize: 14,
149-
backgroundColor: bounty.colors.accent,
150-
}}
151-
size="medium"
152-
value={bounty?.unreviewedSubmissionsCount}
153-
className="bottom-0 -right-1 absolute p-4"
154-
/>
155-
)}
156-
</Component> */}
157132
</div>
158133
);
159134
}

0 commit comments

Comments
 (0)