fix(qrcode): 固定图片上传区域高度,避免布局抖动

- 将 DROPZONE 的 minHeight: 200 改为 height: 250
- 与二维码预览图片高度保持一致
- 解决上传图片时 div 高度变化问题
This commit is contained in:
雨霖铃
2026-05-21 00:13:56 +08:00
parent 70580a9a63
commit 4b339fc628
+1 -1
View File
@@ -719,7 +719,7 @@ export const qrCodePageStyles = {
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
minHeight: 200, height: 250,
border: '2px dashed', border: '2px dashed',
borderColor: dragging || hasFile ? 'success.main' : 'divider', borderColor: dragging || hasFile ? 'success.main' : 'divider',
borderRadius: 3, borderRadius: 3,