diff --git a/src/plugins/bookPlayer/style.scss b/src/plugins/bookPlayer/style.scss index 5348e9d3c6..db43730188 100644 --- a/src/plugins/bookPlayer/style.scss +++ b/src/plugins/bookPlayer/style.scss @@ -57,7 +57,16 @@ margin-bottom: 5px; list-style-type: none; - font-size: 120%; + font-size: 1.2rem; + font-weight: bold; + + ul { + padding-left: 1.5rem; + + li { + font-weight: normal; + } + } a:link { color: #000; diff --git a/src/plugins/bookPlayer/tableOfContents.js b/src/plugins/bookPlayer/tableOfContents.js index 2da57b9229..4c2012d0ec 100644 --- a/src/plugins/bookPlayer/tableOfContents.js +++ b/src/plugins/bookPlayer/tableOfContents.js @@ -1,3 +1,4 @@ +import escapeHTML from 'escape-html'; import dialogHelper from '../../components/dialogHelper/dialogHelper'; export default class TableOfContents { @@ -51,6 +52,25 @@ export default class TableOfContents { }); } + chapterTocItem(book, chapter) { + let itemHtml = '