Skip to content

Commit

Permalink
fix: Connect Wallet style in DemoShow (#678)
Browse files Browse the repository at this point in the history
Co-authored-by: tingzhao.ytz <tingzhao.ytz@antgroup.com>
  • Loading branch information
yutingzhao1991 and tingzhao.ytz committed Mar 22, 2024
1 parent dad373b commit 7058882
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .dumi/theme/builtins/HomePage/components/ShowCase/Connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const walletList: Wallet[] = [
);
},
},
metadata_CoinbaseWallet,
];

export default () => {
Expand All @@ -43,7 +42,10 @@ export default () => {
<span className={styles.title}>Connect Wallet</span>
<div className={classNames(styles.connectContainer, styles.connectModalContainer)}>
<ConnectModal.ModalPanel
mode="normal"
locale={{
guideTipTitle: 'New to Web3?',
}}
mode="simple"
title="Connect Wallet"
footer="Powered by AntChain"
walletList={walletList}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@
flex-shrink: 0;
width: 400px;
}
.connectModalContainer {
position: absolute;
width: 737px;
transform-origin: left top;
transform: scale(0.56);
}
}
}

Expand All @@ -69,9 +63,6 @@
.connectModalCardBg {
min-height: 356px;
}
.connectModalContainer {
transform: scale(0.41);
}
}
.footer {
margin-top: 33px;
Expand Down

0 comments on commit 7058882

Please sign in to comment.