Skip to content

Commit

Permalink
💩 Force EPUB direction to ltr (#1980)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt authored Dec 6, 2024
1 parent 46fcec7 commit e92643f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/reader/epub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ export default {
body: {
'-webkit-text-size-adjust': 'none',
'text-size-adjust': 'none',
direction: 'ltr', // mitigate epubjs mixing up dir & page-progression-direction
},
});
this.rendition.themes.fontSize(`${this.fontSize}px`);
Expand Down

0 comments on commit e92643f

Please sign in to comment.