-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix: adm-swiper-vertical 后代选择器 改为 子代选择器 #5903
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportBase: 90.35% // Head: 90.35% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #5903 +/- ##
=======================================
Coverage 90.35% 90.35%
=======================================
Files 299 299
Lines 6488 6488
Branches 1612 1612
=======================================
Hits 5862 5862
Misses 575 575
Partials 51 51 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-5903.surge.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
horizontal
应该也有这个问题,一起改了吧 ~
transform: translateY(var(--track-offset)); | ||
&-inner { | ||
> .adm-swiper-track-inner { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> .adm-swiper-track-inner { | |
> &-inner { |
vertical 使用了后代选择器, 导致嵌套的 horizontal 的样式被覆盖