[Improvement] Progress: pivot shouldn't cross border (#1135)

This commit is contained in:
neverland
2018-05-22 20:13:19 +08:00
committed by GitHub
parent 88b142a048
commit 7f10d99d3d
5 changed files with 69 additions and 12 deletions

View File

@@ -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%);
}
}