diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 5babadbf..373f6040 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -242,7 +242,7 @@ const getLayoutStyles = ( letter-spacing: ${letterSpacing}px ${overrideLayout ? '!important' : ''}; text-indent: ${vertical ? textIndent * 1.2 : textIndent}em ${overrideLayout ? '!important' : ''}; ${justify ? `text-align: justify ${overrideLayout ? '!important' : ''};` : ''} - ${!justify && overrideLayout ? 'text-align: unset !important;' : ''}; + ${!justify && overrideLayout ? 'text-align: initial !important;' : ''}; -webkit-hyphens: ${hyphenate ? 'auto' : 'manual'}; hyphens: ${hyphenate ? 'auto' : 'manual'}; -webkit-hyphenate-limit-before: 3;