Skip to content

Commit 0b6f8fb

Browse files
committed
feat(range): 鸿蒙适配,修订NaN,纵向mark时异常问题
1 parent 56f239d commit 0b6f8fb

File tree

4 files changed

+92
-165
lines changed

4 files changed

+92
-165
lines changed

src/packages/range/demos/taro/demo11.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const Demo11 = () => {
4242
justifyContent: 'center',
4343
top: '50%',
4444
left: '50%',
45-
// @ts-ignore
4645
transform: 'translate(-50%, -50%)',
4746
...buttonNativeStyle,
4847
}}
@@ -54,7 +53,7 @@ const Demo11 = () => {
5453
height: pxTransform(18),
5554
color: 'white',
5655
fontSize: pxTransform(10),
57-
lineHeight: pxTransform(10),
56+
lineHeight: 1,
5857
textAlign: 'center',
5958
paddingTop: pxTransform(4),
6059
paddingBottom: pxTransform(4),

src/packages/range/range.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@
204204
position: absolute;
205205
width: 36px;
206206
height: 100%;
207-
top: initial;
207+
// top: initial;
208+
top: 0px;
208209
right: 50%;
209210
overflow: visible;
210211
font-size: 12px;

0 commit comments

Comments
 (0)