Comments (9)
左侧logo把容器撑高了
此处少写了px后缀 https://github1s.com/KuangPF/dumi-theme-antd/blob/main/src/slots/Header/Logo.tsx#L68
👍,刚刚顺手把这个问题修复了,发了个版本 [email protected]
,同时也 pr 到了原项目 (KuangPF/dumi-theme-antd#29)
如果你感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3
版本来解决这个问题~
from ant-design-web3.
Same problem. But don't know why it works fine when I clone the code and run the website locally.
from ant-design-web3.
看了一下是 import 'antd/es/style/reset.css'; 引入了 h1 {margin-bottom: 0.5em; } 从而导致污染全局样式。
from ant-design-web3.
from ant-design-web3.
记录一下排查思路,佬们可以指点一下,但是也有一个比较迷惑的点就像上面兄弟说到的,本地无法复现,确实我也无法复现,最后是通过express.static加载打包的dist文件去检查修复情况的。
似乎reset.css 就容易导致这样子的问题,后续有需求需要reset的时候可以考虑看看是不是用App组件还是什么的,需要特意留意下可能存在的样式污染的情况。
from ant-design-web3.
左侧logo把容器撑高了
此处少写了px后缀 https://github1s.com/KuangPF/dumi-theme-antd/blob/main/src/slots/Header/Logo.tsx#L68
from ant-design-web3.
#722 @eeezgame 感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3 版本来解决这个问题~
from ant-design-web3.
#722 @eeezgame 感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3 版本来解决这个问题~
好的
from ant-design-web3.
#722 @eeezgame 感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3 版本来解决这个问题~
好的
@eeezgame 这边刚好在改其他问题,顺便把这个问题也改了,如果感兴趣的话,可以看看其他 issue,欢迎 pr。
from ant-design-web3.
Related Issues (20)
- [Bug] website logo height overflow HOT 4
- [Bug] useAccount 获取不到当前已连接的用户 HOT 3
- [Feature Request] 连接弹窗支持灵活控制 HOT 2
- [Feature Request] Add a new MoreWallet to replace the WalletConnect wallet. HOT 1
- [BUG] site: The menu display of the official website in mobile mode is abnormal HOT 1
- [Feature Request] 什么时候支持通过okx连接sol网络 HOT 1
- [Feature Request] connect modal optimize HOT 2
- [Feature Request] What's the next on bitcoin HOT 7
- [Bug] Icon Classification,有的图标分类不对 HOT 8
- [Bug] @ant-design/web3-ethers not find ethers-v5 HOT 2
- ERROR in ./node_modules/@solana/wallet-adapter-ledger/node_modules/@ledgerhq/hw-transport/lib-es/Transport.js 225:26-48 HOT 11
- 单测覆盖率不足100% HOT 2
- [Bug] 去掉网站版本号,现在没有多版本的文档,放这个还容易误导人。
- [Bug] connect-modal cssinjs warning
- [Bug] web3-icons 摇树未生效
- [Bug] When hovering over the QR code icon, the plugin button should not be highlighted.
- [Bug] Module not found: Can't resolve 'fs' when using bitcoin package in next.js HOT 3
- @ant-design/web3-bitcoin Module not found: Can't resolve 'net' HOT 2
- [Bug] Chain Select style bug when set ConnectButton size or type
- [Bug]Connecting logo need to adapt base64 img HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design-web3.