Skip to content

Commit

Permalink
fix: provides additional fields info text overflows (#3809)
Browse files Browse the repository at this point in the history
* fix: provides additional fields info text overflows

* fix: check if length of links greater than 0

* refactor: remove console.log
  • Loading branch information
KrissDrawing authored Jan 15, 2024
1 parent 42dc67e commit 87288ef
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ const SelectAndOrder = ({
</div>
)}
{option.collectAddress && (
<div className={`${isNotLastItem ? "-mt-4" : "mt-0"}`}>
<div
className={`${
isNotLastItem && (option.description || option.links.length > 0) ? "-mt-4" : "mt-0"
}`}
>
({t("listings.providesAdditionalFields.info")})
</div>
)}
Expand Down

0 comments on commit 87288ef

Please sign in to comment.