style: 调整二维码尺寸为 240x240,增加容器高度
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
min-height: 260px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qrcode svg {
|
.qrcode svg {
|
||||||
|
|||||||
@@ -100,8 +100,8 @@ export default function QRCodeLogin({ visible, onClose }: QRCodeLoginProps) {
|
|||||||
qrObjRef.current = window.QRLogin({
|
qrObjRef.current = window.QRLogin({
|
||||||
id: 'feishu-qrcode-container',
|
id: 'feishu-qrcode-container',
|
||||||
goto: authUrl,
|
goto: authUrl,
|
||||||
width: '200',
|
width: '240',
|
||||||
height: '200',
|
height: '240',
|
||||||
})
|
})
|
||||||
}, 50)
|
}, 50)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user