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(Picker): adapted skyline #3195

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/loading/loading.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
height: 100%;
background: conic-gradient(
from 180deg at 50% 50%,
transparent 0deg,
transparent 60deg,
rgba(255, 255, 255, 0) 0deg,
rgba(255, 255, 255, 0) 60deg,
currentColor 330deg,
transparent 360deg
rgba(255, 255, 255, 0) 360deg
);
mask: radial-gradient(transparent calc(50% - 1rpx), #fff 50%);

Expand Down
4 changes: 2 additions & 2 deletions src/picker/picker.less
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@

&--top {
top: 0;
background: linear-gradient(180deg, @picker-bg-color 0%, transparent 100%);
background: linear-gradient(180deg, @picker-bg-color 0%, rgba(255, 255, 255, 0) 100%);
}

&--bottom {
bottom: 0;
background: linear-gradient(180deg, @picker-bg-color 0%, transparent 100%);
background: linear-gradient(180deg, @picker-bg-color 0%, rgba(255, 255, 255, 0) 100%);
transform: matrix(1, 0, 0, -1, 0, 0);
}
}
Expand Down
Loading