Skip to content

Commit c5cff57

Browse files
fix: 修复手机端显示异常问题 🐛
1 parent 7c90377 commit c5cff57

File tree

3 files changed

+40
-20
lines changed

3 files changed

+40
-20
lines changed

src/PlayerSkin/ControlBar/index.module.less

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,30 @@
55

66
width: 100%;
77
padding: 0 8px 4px;
8-
}
98

10-
.flexItem {
11-
overflow: hidden;
12-
flex: 1;
9+
button {
10+
display: inline-block;
11+
12+
width: 32px;
13+
height: 32px;
14+
margin: 0;
15+
padding: 0;
16+
17+
cursor: pointer;
18+
vertical-align: bottom;
19+
20+
border: 0;
21+
outline: 0 none transparent;
22+
background-color: transparent;
23+
24+
font-size: 20px;
25+
line-height: 32px;
26+
}
27+
28+
.flexItem {
29+
overflow: hidden;
30+
flex: 1;
1331

14-
white-space: nowrap;
32+
white-space: nowrap;
33+
}
1534
}

src/PlayerSkin/Controls/index.module.less

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@
1515

1616
background: transparent repeat-x left bottom;
1717

18-
button {
19-
display: inline-block;
18+
// button {
19+
// display: inline-block;
2020

21-
width: 32px;
22-
height: 32px;
23-
margin: 0;
24-
padding: 0;
21+
// width: 32px;
22+
// height: 32px;
23+
// margin: 0;
24+
// padding: 0;
2525

26-
cursor: pointer;
27-
vertical-align: bottom;
26+
// cursor: pointer;
27+
// vertical-align: bottom;
2828

29-
border: 0;
30-
outline: 0 none transparent;
31-
background-color: transparent;
29+
// border: 0;
30+
// outline: 0 none transparent;
31+
// background-color: transparent;
3232

33-
font-size: 20px;
34-
line-height: 32px;
35-
}
33+
// font-size: 20px;
34+
// line-height: 32px;
35+
// }
3636

3737
.textBtn {
3838
width: auto;

src/PlayerSkin/TimeSlider/index.module.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@
201201
pointer-events: auto;
202202

203203
opacity: 1;
204-
box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.2);
204+
// box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.2);
205+
box-shadow: none;
205206
// &:disabled {
206207
// opacity: 0;
207208
// pointer-events: none;

0 commit comments

Comments
 (0)