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 Report] tab可滚动造成文字跟横杠错位 #2850 #2854
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tab组件,没有一行时候,下划线会错乱 |
是不是真机上才会这样?
…------------------ 原始邮件 ------------------
发件人: "smltUI"<notifications@github.com>;
发送时间: 2019年9月29日(星期天) 下午4:58
收件人: "airyland/vux"<vux@noreply.github.com>;
抄送: "807409344"<807409344@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [airyland/vux] [Bug Report] tab可滚动造成文字跟横杠错位 #2850 (#2854)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
我在微信开发工具上也到过 自己写了 也是第一个错位 不过是在最左边 只有一半的长度 |
我也是这个第一个只有一点长度 |
完事了 tab-item 的这个属性active-class 给个类名 然后给一下border-bottom 就可以了 @PengsiwenOOO |
@wwkiscool 你好,能说说具体怎么解决的吗,我现在也是只有一半的宽度 |
具体忘记了 好像是 父级给宽度 |
@wwkiscool 父级给了宽度也没有生效,主要我没看懂你说的active-class和border-bottom啥意思,是要去改源码吗 |
应该不用修改源码 时间有点久了 应该是 你看文档 tab-item不是有个active-class这个属性么,给这个属性赋值一个名字 然后给这个名字写个css 就行了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please makes sure the items are checked before submitting your PR, thank you!
Rebase
before creating a PR to keep commit history clear.Only One commit
eslint
errors