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>
|
||||
</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 />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue