summaryrefslogtreecommitdiff
path: root/libs/music
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-04-05 12:25:16 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-04-05 12:25:16 +0800
commitbd7950b3d4d43b9580a9143c6d02d993c3ee4dbc (patch)
tree5df06856a20f4f56f304a8e66a2a4e4a14d5317d /libs/music
parentc721b50661d2f9c7d1edd7ba997460f51ec4bb58 (diff)
downloadweb-bd7950b3d4d43b9580a9143c6d02d993c3ee4dbc.tar.xz
Adjust styles.
Diffstat (limited to 'libs/music')
-rw-r--r--libs/music/player2
-rw-r--r--libs/music/player.d/styles.css5
2 files changed, 6 insertions, 1 deletions
diff --git a/libs/music/player b/libs/music/player
index f885d87..373da93 100644
--- a/libs/music/player
+++ b/libs/music/player
@@ -92,7 +92,7 @@ The online player was added.
-->
<body onload="init();">
<div id="overlay"><span style="text-align:center;" id="overlaytext" class="TText">LOADING...</span></div>
- <div id="notes" class="TText" style="display:none;"><pre class="TText" id="ntext"></pre>
+ <div id="notes" class="TText" style="display:none;"><div class="TText" id="ntext"></div>
<a href="javascript:NSUI.hideNotes()">close</a></div>
<div id="panel" class="TText">
<ul id="panellist">
diff --git a/libs/music/player.d/styles.css b/libs/music/player.d/styles.css
index bcbfee3..cf3be80 100644
--- a/libs/music/player.d/styles.css
+++ b/libs/music/player.d/styles.css
@@ -38,6 +38,11 @@
margin:1em;
padding:1em;
}
+#ntext{
+ overflow:scroll;
+ height:calc(100% - 1.2em);
+ white-space:pre-wrap;
+}
.switches{text-align:center;width:100%;padding:0.25em 0 0.25em 0;}
.centered-audio{text-align:center;width:100%;}
canvas#cvs{width:100%;height:100%;}