Skip to content

Commit

Permalink
fix: 修复手机端显示异常问题 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaosongxiaosong committed Jul 26, 2023
1 parent 7c90377 commit c5cff57
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 20 deletions.
29 changes: 24 additions & 5 deletions src/PlayerSkin/ControlBar/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,30 @@

width: 100%;
padding: 0 8px 4px;
}

.flexItem {
overflow: hidden;
flex: 1;
button {
display: inline-block;

width: 32px;
height: 32px;
margin: 0;
padding: 0;

cursor: pointer;
vertical-align: bottom;

border: 0;
outline: 0 none transparent;
background-color: transparent;

font-size: 20px;
line-height: 32px;
}

.flexItem {
overflow: hidden;
flex: 1;

white-space: nowrap;
white-space: nowrap;
}
}
28 changes: 14 additions & 14 deletions src/PlayerSkin/Controls/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@

background: transparent repeat-x left bottom;

button {
display: inline-block;
// button {
// display: inline-block;

width: 32px;
height: 32px;
margin: 0;
padding: 0;
// width: 32px;
// height: 32px;
// margin: 0;
// padding: 0;

cursor: pointer;
vertical-align: bottom;
// cursor: pointer;
// vertical-align: bottom;

border: 0;
outline: 0 none transparent;
background-color: transparent;
// border: 0;
// outline: 0 none transparent;
// background-color: transparent;

font-size: 20px;
line-height: 32px;
}
// font-size: 20px;
// line-height: 32px;
// }

.textBtn {
width: auto;
Expand Down
3 changes: 2 additions & 1 deletion src/PlayerSkin/TimeSlider/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@
pointer-events: auto;

opacity: 1;
box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.2);
// box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.2);
box-shadow: none;
// &:disabled {
// opacity: 0;
// pointer-events: none;
Expand Down

0 comments on commit c5cff57

Please sign in to comment.