mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Style tweaks: re-order Allow hyphenation on all text (#4050)
Should be just below with the other Ignore publisher stuff (as we allow hyphenation by default).
This commit is contained in:
@@ -88,15 +88,6 @@ local CssTweaks = {
|
||||
css = [[* { text-align: justify !important; }]],
|
||||
},
|
||||
},
|
||||
{
|
||||
id = "hyphenate_all_auto";
|
||||
title = _("Allow hyphenation on all text"),
|
||||
description = _("Allow hyphenation to happen on all text (except headings), in case the publisher has disabled it."),
|
||||
css = [[
|
||||
* { hyphenate: auto !important; }
|
||||
h1, h2, h3, h4, h5, h6 { hyphenate: none !important; }
|
||||
]],
|
||||
},
|
||||
{
|
||||
id = "sub_sup_smaller";
|
||||
title = _("Smaller sub- and superscript"),
|
||||
@@ -110,6 +101,15 @@ sub { font-size: 50% !important; vertical-align: sub !important; }
|
||||
]],
|
||||
separator = true,
|
||||
},
|
||||
{
|
||||
id = "hyphenate_all_auto";
|
||||
title = _("Allow hyphenation on all text"),
|
||||
description = _("Allow hyphenation to happen on all text (except headings), in case the publisher has disabled it."),
|
||||
css = [[
|
||||
* { hyphenate: auto !important; }
|
||||
h1, h2, h3, h4, h5, h6 { hyphenate: none !important; }
|
||||
]],
|
||||
},
|
||||
{
|
||||
id = "lineheight_all_inherit";
|
||||
title = _("Ignore publisher line heights"),
|
||||
|
||||
Reference in New Issue
Block a user