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

u-tabs标签滑块不居中 #1077

Open
Hexiaofeng666 opened this issue Jul 30, 2024 · 0 comments
Open

u-tabs标签滑块不居中 #1077

Hexiaofeng666 opened this issue Jul 30, 2024 · 0 comments

Comments

@Hexiaofeng666
Copy link

版本

2.0.37

转载链接

http://192.168.22.9:8081/

重现步骤

标签name长度不一致时,会导致下划线滑块不居中,在非nvue文件中可以设置
/deep/ .u-tabs__wrapper__nav__line {
left: 18rpx;
}
解决,但是在nvue文件中深度选择器是失效的

期望的结果是什么?

能够默认居中

实际的结果是什么?

滑块下划线偏左

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

1 participant