You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also while we are at it. I noticed that even in the sandbox provided there is another issue. The modal seems to be cropping the content which may result in GET button being fully invisible.
@midas-myth We're working on improving the internalisation UI for when GET button gets almost hidden, for now it kind of works, but we'll prioritise to support that soon.
Regarding the squished part of the X i think it's fine that it is like that, we always review wallets before adding them and we've not had any wallets which had a super long name. The longest wallet name we have is probably "Bifrost wallet" and that works fine for all languages. Let me know if you've got any other issues, i'll close this one for now and the team will look into making internalisation UI more friendly 🙏
Is there an existing issue for this?
RainbowKit Version
2.0.2
wagmi Version
2.5.7
Current Behavior
The
x
(close button) get squished when the wallet name is long. I noticed this playing with other localesExpected Behavior
The
x
button should not shrink.Steps To Reproduce
Scan with .... Wallet
toScan with very very very super long Wallet
x
should become squishedLink to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://codesandbox.io/p/sandbox/rainbowkit-forked-pz4x97?file=%2Fsrc%2FApp.js%3A18%2C35
Anything else?
the button is probably this line: https://github.com/rainbow-me/rainbowkit/blob/main/packages/rainbowkit/src/components/ConnectOptions/DesktopOptions.tsx#L570
The solution is probably just to add
flex-shrink: 0;
The text was updated successfully, but these errors were encountered: