Skip to content

Commit d4461b1

Browse files
committed
Better QR Code display
1 parent b0ef2cb commit d4461b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webview-ui/src/components/chat/CloudTaskButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const CloudTaskButton = ({ item, disabled = false }: CloudTaskButtonProps
3131
qrCodeRef.current,
3232
cloudTaskUrl,
3333
{
34-
width: 200,
34+
width: 150,
3535
margin: 2,
3636
color: {
3737
dark: "#000000",
@@ -88,8 +88,8 @@ export const CloudTaskButton = ({ item, disabled = false }: CloudTaskButtonProps
8888

8989
{/* QR Code */}
9090
<div className="flex justify-center">
91-
<div className="p-4 bg-white rounded-lg">
92-
<canvas ref={qrCodeRef} aria-label="QR code for cloud task URL" />
91+
<div className="p-[10px] w-[170px] h-[170px] bg-white rounded-lg">
92+
<canvas ref={qrCodeRef} />
9393
</div>
9494
</div>
9595
</div>

0 commit comments

Comments
 (0)