Fix web plugin scroll and lyrics newline bug

This commit is contained in:
udiboy1209 2014-05-02 20:54:57 +05:30
parent 064013605a
commit 756f4c4d29
2 changed files with 14 additions and 1 deletions

View file

@ -105,11 +105,22 @@ body {
font-style: italic;
}
#detail div {
height: 90%;
}
#detail dl {
overflow-x: hidden;
overflow-y: auto;
height: inherit;
}
#detail dl dt, #detail dl dd {
list-style: none;
margin: 0;
padding: 0;
}
#detail dl dt {
width: 10em;
float: left;
@ -121,6 +132,7 @@ body {
margin-left: 10.5em;
}
#player {
float: left;
width: 150px;

View file

@ -80,7 +80,8 @@
</dd>
<% if (lyrics) { %>
<dt>Lyrics</dt>
<dd><%= lyrics %></dd>
<dd><%= lyrics.replace(/
/g,'<br />') %></dd>
<% } %>
<% if (comments) { %>
<dt>Comments</dt>