Skip to content

Commit 59a00cd

Browse files
authored
fix: img styles (#1086)
* feat: add wechat qrcode * fix: img styles
1 parent 718fb4f commit 59a00cd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/components/JoinCommunity/index.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,21 @@ const JoinCommunity: FC<TProps> = ({
9090
const QRCode = [
9191
{
9292
title: "Databend 公众号",
93-
icon: <img style={{ borderRadius: "6px" }} src={GongzhonghaoImg}></img>,
93+
icon: (
94+
<img
95+
style={{ borderRadius: "6px", height: "100%", width: "100%" }}
96+
src={GongzhonghaoImg}
97+
></img>
98+
),
9499
},
95100
{
96101
title: "客服小 D",
97-
icon: <img style={{ borderRadius: "6px" }} src={LittleDImg}></img>,
102+
icon: (
103+
<img
104+
style={{ borderRadius: "6px", height: "100%", width: "100%" }}
105+
src={LittleDImg}
106+
></img>
107+
),
98108
},
99109
];
100110
return (

0 commit comments

Comments
 (0)