Skip to content

Commit 7058882

Browse files
yutingzhao1991tingzhao.ytz
and
tingzhao.ytz
authored
fix: Connect Wallet style in DemoShow (#678)
Co-authored-by: tingzhao.ytz <[email protected]>
1 parent dad373b commit 7058882

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.dumi/theme/builtins/HomePage/components/ShowCase/Connect.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const walletList: Wallet[] = [
2828
);
2929
},
3030
},
31-
metadata_CoinbaseWallet,
3231
];
3332

3433
export default () => {
@@ -43,7 +42,10 @@ export default () => {
4342
<span className={styles.title}>Connect Wallet</span>
4443
<div className={classNames(styles.connectContainer, styles.connectModalContainer)}>
4544
<ConnectModal.ModalPanel
46-
mode="normal"
45+
locale={{
46+
guideTipTitle: 'New to Web3?',
47+
}}
48+
mode="simple"
4749
title="Connect Wallet"
4850
footer="Powered by AntChain"
4951
walletList={walletList}

.dumi/theme/builtins/HomePage/components/ShowCase/index.module.less

-9
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@
4444
flex-shrink: 0;
4545
width: 400px;
4646
}
47-
.connectModalContainer {
48-
position: absolute;
49-
width: 737px;
50-
transform-origin: left top;
51-
transform: scale(0.56);
52-
}
5347
}
5448
}
5549

@@ -69,9 +63,6 @@
6963
.connectModalCardBg {
7064
min-height: 356px;
7165
}
72-
.connectModalContainer {
73-
transform: scale(0.41);
74-
}
7566
}
7667
.footer {
7768
margin-top: 33px;

0 commit comments

Comments
 (0)