mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[Improvement] Progress: pivot shouldn't cross border (#1135)
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
border-radius: inherit;
|
||||
|
||||
&--with-pivot {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__pivot {
|
||||
@@ -26,6 +31,6 @@
|
||||
word-break: keep-all;
|
||||
box-sizing: border-box;
|
||||
background-color: $gray-light;
|
||||
transform: translate(50%, -50%);
|
||||
transform: translate(100%, -50%);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user