Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Connect Wallet style in DemoShow #678

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading