Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: qrcode max width 240

shuai9f2607cf35e5
diff --git a/ui/src/pages/UserCenter/Auth/components/WeCom/index.tsx b/ui/src/pages/UserCenter/Auth/components/WeCom/index.tsx
index c9c1f6be..21970f55 100644
--- a/ui/src/pages/UserCenter/Auth/components/WeCom/index.tsx
+++ b/ui/src/pages/UserCenter/Auth/components/WeCom/index.tsx
@@ -75,8 +75,8 @@ const Index: FC = () => {
{qrcodeDataUrl ? (
<>
<img
- width={240}
- height={240}
+ className="w-100"
+ style={{ maxWidth: '240px' }}
src={qrcodeDataUrl}
alt={agentName}
/>