fix(react): Adjust linedrawing size to fit card
This commit is contained in:
parent
09d6445a51
commit
b6d9526d8b
1 changed files with 2 additions and 2 deletions
|
@ -302,8 +302,8 @@ const DesignCard = ({ name, lineDrawing = false, linkTo, Link, onClick }) => {
|
||||||
</span>
|
</span>
|
||||||
</h5>
|
</h5>
|
||||||
{lineDrawing ? (
|
{lineDrawing ? (
|
||||||
<div className="tw:p-1 tw:grow tw:w-full tw:h-auto tw:square tw:text-center">
|
<div className="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" />
|
<LineDrawing className="tw:w-5/6 tw:m-auto tw:my-0 tw:text-base-content" />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<span />
|
<span />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue