Skip to content

Commit

Permalink
fix wrap text in setting box
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 14, 2017
1 parent 6ae60cf commit 1ebd494
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dplayer",
"version": "1.10.0",
"version": "1.10.1",
"description": "Wow, such a lovely HTML5 danmaku video player",
"main": "dist/DPlayer.min.js",
"style": "dist/DPlayer.min.css",
Expand Down
8 changes: 6 additions & 2 deletions src/DPlayer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@
padding: 5px 10px;
box-sizing: border-box;
cursor: pointer;
position: relative;

&:hover {
background-color: rgba(255,255,255,.1);
Expand Down Expand Up @@ -962,15 +963,18 @@
font-size: 13px;
display: inline-block;
vertical-align: middle;
white-space: nowrap;
}

.dplayer-toggle {
width: 32px;
height: 100%;
height: 20px;
text-align: center;
font-size: 0;
vertical-align: middle;
float: right;
position: absolute;
top: 5px;
right: 10px;

input {
max-height: 0;
Expand Down

0 comments on commit 1ebd494

Please sign in to comment.