Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
3 changes: 1 addition & 2 deletions src/packages/range/demos/taro/demo11.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const Demo11 = () => {
justifyContent: 'center',
top: '50%',
left: '50%',
// @ts-ignore
transform: 'translate(-50%, -50%)',
...buttonNativeStyle,
}}
Expand All @@ -54,7 +53,7 @@ const Demo11 = () => {
height: pxTransform(18),
color: 'white',
fontSize: pxTransform(10),
lineHeight: pxTransform(10),
lineHeight: 1,
textAlign: 'center',
paddingTop: pxTransform(4),
paddingBottom: pxTransform(4),
Expand Down
8 changes: 6 additions & 2 deletions src/packages/range/range.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
max-height: 100%;
background: $range-active-color;
border-radius: 2px;
transition: all 0.2s;

&-animate {
transition: all 0.2s;
}
}

&-button {
Expand Down Expand Up @@ -204,7 +207,8 @@
position: absolute;
width: 36px;
height: 100%;
top: initial;
// top: initial;
top: 0px;
right: 50%;
overflow: visible;
font-size: 12px;
Expand Down
Loading
Loading