Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG]左侧菜单收起来后,鼠标放上去,图标跑偏了,木有居中 #7628

Closed
ghost opened this issue Nov 19, 2020 · 8 comments
Labels

Comments

@ghost
Copy link

ghost commented Nov 19, 2020

🐛 bug 描述

左侧菜单收起来后,鼠标放上去,图标跑偏了,木有居中

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
    "@ant-design/icons": "^4.0.0",
    "@ant-design/pro-layout": "^6.5.13",
    "@ant-design/pro-table": "^2.5.3",
    "antd": "^4.7.0",

  • umi 版本
    "umi": "^3.2.14",

  • 浏览器环境
    chrom

  • 开发环境 [e.g. mac OS]
    windown

🚑 其他信息

image

@ghost ghost added the 🛑 bug label Nov 19, 2020
@ghost ghost changed the title 🐛[BUG] 🐛[BUG]左侧菜单收起来后,鼠标放上去,图标跑偏了,木有居中 Nov 23, 2020
@chenshuai2144
Copy link
Collaborator

看看是不是样式污染,在 https://preview.pro.ant.design/dashboard/analysis 中是没有问题的

@ghost
Copy link
Author

ghost commented Nov 30, 2020

image
@ @ @chenshuai2144 这个padding去掉就正常了,这个css文件看着明显是组件库的。
image

@chenshuai2144
Copy link
Collaborator

看看是不是打包了两份layout导致的 这个样式已经被删除了

@ghost
Copy link
Author

ghost commented Dec 3, 2020

看看是不是打包了两份layout导致的 这个样式已经被删除了

@问个题外话 这个 颜色无法覆盖,但是我又想修改要怎么办呢?
image

@ghost
Copy link
Author

ghost commented Dec 3, 2020

看看是不是打包了两份layout导致的 这个样式已经被删除了

本地也有这样的情况哦 @chenshuai2144
image
z只是一份哦

@iambool
Copy link

iambool commented Dec 31, 2020

这个问题我也遇到了,求解

@chenshuai2144
Copy link
Collaborator

chenshuai2144 commented Jan 1, 2021

这个 颜色无法覆盖

这个是多色icon,你要直接换icon

@chenshuai2144
Copy link
Collaborator

@iambool 用 npm ls @ant-design/pro-layout ,看看是不是又多个版本被覆盖了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants