diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index 7b93f67e..9d4d634b 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -171,6 +171,8 @@ class PreviewBar { // To prevent offset issue this.categoryTooltip.style.right = titleTooltip.style.right; this.chapterTooltip.style.right = titleTooltip.style.right; + this.categoryTooltip.style.textAlign = titleTooltip.style.textAlign; + this.chapterTooltip.style.textAlign = titleTooltip.style.textAlign; } });