From 81f202d21556aa430402fda814519adbc8883831 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Thu, 23 Oct 2025 10:33:37 -0500 Subject: [PATCH] fix(qr-button): match height of stacked buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change from width-based to height-based sizing (height: 100%) - Button now takes full height of parent container - Increase QR code from 52px to 72px to fill larger button - Button remains square with aspectRatio: 1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/web/src/components/common/QRCodeButton.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/common/QRCodeButton.tsx b/apps/web/src/components/common/QRCodeButton.tsx index 1e7c7343..ff0854a2 100644 --- a/apps/web/src/components/common/QRCodeButton.tsx +++ b/apps/web/src/components/common/QRCodeButton.tsx @@ -37,9 +37,8 @@ export function QRCodeButton({ url, style }: QRCodeButtonProps) { padding: '4px', fontSize: '16px', color: 'rgba(253, 186, 116, 1)', - width: '100%', + height: '100%', aspectRatio: '1', - alignSelf: 'stretch', flexShrink: 0, ...style, } @@ -62,7 +61,7 @@ export function QRCodeButton({ url, style }: QRCodeButtonProps) { Object.assign(e.currentTarget.style, buttonStyles) }} > - +