1
0
Fork 0

fix(react): Adjust linedrawing size to fit card

This commit is contained in:
Benjamin Fan 2025-05-01 10:56:22 -07:00 committed by Joost De Cock
parent 09d6445a51
commit b6d9526d8b

View file

@ -302,8 +302,8 @@ const DesignCard = ({ name, lineDrawing = false, linkTo, Link, onClick }) => {
</span>
</h5>
{lineDrawing ? (
<div className="tw:p-1 tw:grow tw:w-full tw:h-auto tw:square tw:text-center">
<LineDrawing className="tw:max-w-full tw:m-auto tw:my-4 tw:text-base-content" />
<div className="tw:grow tw:w-full tw:h-auto tw:square tw:text-center">
<LineDrawing className="tw:w-5/6 tw:m-auto tw:my-0 tw:text-base-content" />
</div>
) : (
<span />