fix title

This commit is contained in:
j 2021-11-24 15:01:03 +01:00
parent aa15dfc787
commit f56dd8d4f9
2 changed files with 6 additions and 4 deletions

View file

@ -10,10 +10,12 @@
.item-title { .item-title {
position: absolute; position: absolute;
width: 100%; width: 100%;
text-align: center; text-align: left;
pointer-events: none; pointer-events: none;
padding-left: 196px;
height: 24px;
h1 { h1 {
font-size: inherit; font-size: 17px;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }

View file

@ -148,7 +148,7 @@ function formatInfo(config, player) {
var folder = document.createElement('a') var folder = document.createElement('a')
folder.href = '..' folder.href = '..'
folder.innerText = config.folder folder.innerHTML = config.folder
var h1 = document.createElement('h1') var h1 = document.createElement('h1')
h1.appendChild(folder) h1.appendChild(folder)
var title = document.createElement('span') var title = document.createElement('span')
@ -158,7 +158,7 @@ function formatInfo(config, player) {
var folder = document.createElement('a') var folder = document.createElement('a')
folder.href = '..' folder.href = '..'
folder.innerText = config.folder folder.innerHTML = config.folder
var h1 = document.createElement('h1') var h1 = document.createElement('h1')
h1.appendChild(folder) h1.appendChild(folder)
var title = document.createElement('span') var title = document.createElement('span')