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

fix: adm-swiper-vertical 后代选择器 改为 子代选择器 #5903

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Chinvaejay
Copy link

vertical 使用了后代选择器, 导致嵌套的 horizontal 的样式被覆盖

@codecov
Copy link

codecov bot commented Dec 29, 2022

Codecov Report

Base: 90.35% // Head: 90.35% // No change to project coverage 👍

Coverage data is based on head (3526176) compared to base (ff23440).
Patch has no changes to coverable lines.

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-5903.surge.sh

@miracles1919
Copy link
Contributor

image

处理less编译问题
Copy link
Contributor

@miracles1919 miracles1919 left a 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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> .adm-swiper-track-inner {
> &-inner {

@miracles1919 miracles1919 linked an issue Jan 3, 2023 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

vertical swiper 套用 horizontal swiper 的样式问题
2 participants