From f56dd8d4f90206ea1d487b7a394e333c6a7b4958 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 24 Nov 2021 15:01:03 +0100 Subject: [PATCH] fix title --- app/static/css/partials/_menu.scss | 6 ++++-- app/static/js/play.js | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/static/css/partials/_menu.scss b/app/static/css/partials/_menu.scss index 97b5716..72a2c3c 100755 --- a/app/static/css/partials/_menu.scss +++ b/app/static/css/partials/_menu.scss @@ -10,10 +10,12 @@ .item-title { position: absolute; width: 100%; - text-align: center; + text-align: left; pointer-events: none; + padding-left: 196px; + height: 24px; h1 { - font-size: inherit; + font-size: 17px; margin: 0; padding: 0; } diff --git a/app/static/js/play.js b/app/static/js/play.js index 8b6d766..9313455 100644 --- a/app/static/js/play.js +++ b/app/static/js/play.js @@ -148,7 +148,7 @@ function formatInfo(config, player) { var folder = document.createElement('a') folder.href = '..' - folder.innerText = config.folder + folder.innerHTML = config.folder var h1 = document.createElement('h1') h1.appendChild(folder) var title = document.createElement('span') @@ -158,7 +158,7 @@ function formatInfo(config, player) { var folder = document.createElement('a') folder.href = '..' - folder.innerText = config.folder + folder.innerHTML = config.folder var h1 = document.createElement('h1') h1.appendChild(folder) var title = document.createElement('span')