Coder Social home page Coder Social logo

Comments (9)

jeasonstudio avatar jeasonstudio commented on June 10, 2024 2

左侧logo把容器撑高了

1711511012266

此处少写了px后缀 https://github1s.com/KuangPF/dumi-theme-antd/blob/main/src/slots/Header/Logo.tsx#L68

image

👍,刚刚顺手把这个问题修复了,发了个版本 [email protected],同时也 pr 到了原项目 (KuangPF/dumi-theme-antd#29)

如果你感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3 版本来解决这个问题~

from ant-design-web3.

TheKonka avatar TheKonka commented on June 10, 2024

Same problem. But don't know why it works fine when I clone the code and run the website locally.

from ant-design-web3.

thinkasany avatar thinkasany commented on June 10, 2024

看了一下是 import 'antd/es/style/reset.css'; 引入了 h1 {margin-bottom: 0.5em; } 从而导致污染全局样式。

from ant-design-web3.

kiner-tang avatar kiner-tang commented on June 10, 2024

image
image
twitter 的按钮也没有展示,也需要一起看看

from ant-design-web3.

thinkasany avatar thinkasany commented on June 10, 2024

记录一下排查思路,佬们可以指点一下,但是也有一个比较迷惑的点就像上面兄弟说到的,本地无法复现,确实我也无法复现,最后是通过express.static加载打包的dist文件去检查修复情况的。

image

似乎reset.css 就容易导致这样子的问题,后续有需求需要reset的时候可以考虑看看是不是用App组件还是什么的,需要特意留意下可能存在的样式污染的情况。
Pasted Graphic 3

from ant-design-web3.

eeezgame avatar eeezgame commented on June 10, 2024

左侧logo把容器撑高了

1711511012266

此处少写了px后缀 https://github1s.com/KuangPF/dumi-theme-antd/blob/main/src/slots/Header/Logo.tsx#L68

image

from ant-design-web3.

thinkasany avatar thinkasany commented on June 10, 2024

#722 @eeezgame 感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3 版本来解决这个问题~

from ant-design-web3.

eeezgame avatar eeezgame commented on June 10, 2024

#722 @eeezgame 感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3 版本来解决这个问题~

好的

from ant-design-web3.

kiner-tang avatar kiner-tang commented on June 10, 2024

#722 @eeezgame 感兴趣可以提一个 pr 更新下本项目使用的 dumi-theme-antd-web3 版本来解决这个问题~

好的

@eeezgame 这边刚好在改其他问题,顺便把这个问题也改了,如果感兴趣的话,可以看看其他 issue,欢迎 pr。

from ant-design-web3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.