Skip to content

Commit 5f747f1

Browse files
Merge pull request #2013 from Web3Auth/fix/connect-with-wallet-btn
btn fix
2 parents 3ed531d + a9d109c commit 5f747f1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/ui/src/components/Modal.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,14 @@ export default function Modal(props: ModalProps) {
140140
const isExternalPrimary = modalState.socialLoginsConfig?.uiConfig?.primaryButton === "externalLogin";
141141

142142
const externalWalletButton = (
143-
<div className="w3ajs-external-wallet w3a-group">
143+
<div className="w3ajs-external-wallet w3a-group w3a--w-full">
144144
<div className="w3a-external-toggle w3ajs-external-toggle">
145145
{/* <div className="w3a-group__title">{t("modal.external.title")}</div> */}
146146
<Button
147147
variant={isExternalPrimary ? "primary" : "tertiary"}
148148
type="button"
149-
className="w-full w3ajs-external-toggle__button"
149+
className="w3a--w-full w3ajs-external-toggle__button"
150+
style={{ width: "100%" }}
150151
onClick={() => {
151152
setModalState((prevState) => {
152153
return {

packages/ui/src/css/web3auth.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
}
348348

349349
#w3a-modal .w3a-external-toggle {
350-
@apply w3a--block;
350+
@apply w3a--block !w3a--w-full;
351351
}
352352

353353
#w3a-modal .w3a-external-toggle.w3a-external-toggle--hidden {

0 commit comments

Comments
 (0)