Skip to content

Commit

Permalink
fix: adjust player mini mode size in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Aug 26, 2020
1 parent 88eadb3 commit 07fd649
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,12 @@
width: @player-width;
height: @player-height;
z-index: @player-mini-z-index;

@media @mobile {
width: @player-width-mobile;
height: @player-height-mobile;
}

&:focus {
outline: none;
}
Expand All @@ -589,6 +595,12 @@
position: relative;
width: @player-width;
height: @player-height;

@media @mobile {
width: @player-width-mobile;
height: @player-height-mobile;
}

&:focus {
outline: none;
}
Expand All @@ -602,10 +614,6 @@
position: absolute;
right: 0;
top: 0;

@media @mobile {
right: 15px;
}
}

&-controller {
Expand Down

0 comments on commit 07fd649

Please sign in to comment.