fix(qrcode): 固定二维码预览图片尺寸,避免布局抖动

- 设置 QR_PREVIEW_IMAGE 固定尺寸 250x250
- 与 QRious 生成的二维码大小保持一致
- 解决输入内容变化时预览窗口大小跳动问题
This commit is contained in:
雨霖铃
2026-05-21 00:09:17 +08:00
parent df0b9440ca
commit 99a0400db3
+2 -2
View File
@@ -685,8 +685,8 @@ export const qrCodePageStyles = {
width: '100%',
} as const,
QR_PREVIEW_IMAGE: {
maxWidth: '100%',
height: 'auto',
width: 250,
height: 250,
display: 'block',
} as const,
QR_PREVIEW_ACTIONS: {