ant-design / ant-design-web3

🥳 Efficient react components for building dapps easier | Connect crypto wallets and more Web3 UI components | Web3 icons | Supports Ethereum, Solana, Bitcoin, TON and others.

Home Page:https://web3.ant.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Get wallet btn overflow

yutingzhao1991 opened this issue · comments

What happens?

自定义 design token 的情况下 get wallet btn 可能会溢出,另外按钮和文字不对齐

image

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

可以参考 https://web3.ant.design/guide/theme 这个的 design token

image

Context

  • Ant Design Web3 Version:
  • Node Version:
  • Platform:

.ant-web3-connect-modal-body 上面写死了一个高度,要看看怎么调整更好一点。 @LCJove 高度这个逻辑是不是你之前加的,之前是考虑哪些点?看看有没有更好的办法

应该是为了避免内容变化导致modal切换的时候高度会变化,改成minHeight应该会好一点