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

button组件图标样式有问题 #7494

Closed
1 task
ghost opened this issue Apr 12, 2024 · 3 comments
Closed
1 task

button组件图标样式有问题 #7494

ghost opened this issue Apr 12, 2024 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 12, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.0

Environment

全部最新版本

Reproduction link

https://stackblitz.com/edit/vitejs-vite-fy7q3f?file=src%2FApp.vue

Steps to reproduce

在这里https://stackblitz.com/edit/vitejs-vite-fy7q3f?file=src%2FApp.vue

What is expected?

希望按钮垂直居中

What is actually happening?

按钮靠上

@fucktic
Copy link

fucktic commented Apr 18, 2024

为什么我的项目里图标靠下面
screenshot-20240418-160932
强烈要求给出原因

@selicens
Copy link
Member

image
@ant-design/icons-vue引入的图标是有样式的,自行导入svg需要自定义样式

@renjiangwei
Copy link

为什么我的项目里图标靠下面 screenshot-20240418-160932 强烈要求给出原因

看看有没有全局svg的样式,或者某些css框架的全局样式影响了,vertical-align

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

No branches or pull requests

3 participants