Skip to content

Commit

Permalink
fix(QrcodeComponent): reduce qrcode skeleton size
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 authored and spwoodcock committed Oct 14, 2024
1 parent 381cdb3 commit 2c3f06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/components/QrcodeComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const QrcodeComponent = ({ projectId, taskIndex }: tasksComponentType) => {
<div className="fmtm-flex fmtm-justify-center sm:fmtm-py-5 fmtm-border-t-[1px]">
<div className="fmtm-relative fmtm-hidden sm:fmtm-block fmtm-bg-white fmtm-p-2 !fmtm-w-[9rem] fmtm-rounded-tl-lg fmtm-rounded-bl-lg">
{qrcode == '' ? (
<CoreModules.Skeleton width={170} height={170} />
<CoreModules.Skeleton width={128} height={128} />
) : (
<img id="qrcodeImg" src={qrcode} alt="qrcode" className="" />
)}
Expand Down

0 comments on commit 2c3f06b

Please sign in to comment.