mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Various minor fixes (#4172)
- css tweaks: use correct CSS "hyphens:" instead of "hyphenate:" - screenshoter: more logical order of lines (no change in what it does) - textviewer: make diagonal swipe really trigger a full refresh - textwidget: more adequate text length to help with centering - toggleswitch: fix sizing & centering with correct calculations (this reduces a bit the size of switches, and may cause a new truncation in some translations)
This commit is contained in:
@@ -106,8 +106,8 @@ sub { font-size: 50% !important; vertical-align: sub !important; }
|
||||
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; }
|
||||
* { hyphens: auto !important; }
|
||||
h1, h2, h3, h4, h5, h6 { hyphens: none !important; }
|
||||
]],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user