File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/modal/src/ui/components Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function ButtonWallet(props: ButtonWalletProps) {
5555 extension = { button . imgExtension || "webp" }
5656 />
5757 </ figure >
58- < p className = "w3a--text-base w3a--font-normal w3a--text-app-gray-700 dark:w3a--text-app-white" > { label } </ p >
58+ < p className = "w3a--max-w-[180px] w3a--truncate w3a-- text-base w3a--font-normal w3a--text-app-gray-700 dark:w3a--text-app-white" > { label } </ p >
5959 </ div >
6060 { button . hasInjectedWallet && (
6161 < span
Original file line number Diff line number Diff line change @@ -410,7 +410,9 @@ function Login(props: LoginProps) {
410410 } ) }
411411 onClick = { ( ) => handleInstalledWalletClick ( wallet ) }
412412 >
413- < p className = "w3a--text-base w3a--font-normal w3a--text-app-gray-700 dark:w3a--text-app-white" > { wallet . displayName } </ p >
413+ < p className = "w3a--max-w-[180px] w3a--truncate w3a--text-base w3a--font-normal w3a--text-app-gray-700 dark:w3a--text-app-white" >
414+ { wallet . displayName }
415+ </ p >
414416 < div className = "w3a--flex w3a--items-center w3a--gap-x-2" >
415417 { wallet . hasInjectedWallet && (
416418 < span
You can’t perform that action at this time.
0 commit comments