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

var-icon 组件,同一个图标,在不同的尺寸下,会有偏下或偏上的表现,并没有居中显示。 #1802

Closed
Alfred-wen opened this issue Oct 17, 2024 · 3 comments

Comments

@Alfred-wen
Copy link

Bug report 🐞

Version & Environment

Expectation

应该所有尺寸下图标应该都是居中显示。

Actual results (or Errors)

来自官网的截图:
test1
test

Reproduction link

@haoziqaq
Copy link
Member

image

未能复现,可以提供更多的环境信息么?

@Alfred-wen
Copy link
Author

https://varletjs.org/#/zh-CN/icon 先把页面放大,然后就可以看到icon 上下没居中
image

@haoziqaq
Copy link
Member

image
image

因为是字体图标, 可能受 os,browser 等各种环境影响,我这里是 macos 13.6.4,没有复现这个问题。

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

2 participants