mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Style tweaks: remove "Toggle alternative EPUB content"
With MathML support, this is no longer all or nothing. As it's quite rare and technical, let this be handled via user style tweaks.
This commit is contained in:
@@ -823,20 +823,6 @@ This tweak can be duplicated as a user style tweak when books contain footnotes
|
||||
]],
|
||||
},
|
||||
},
|
||||
{
|
||||
id = "epub_switch_show_case";
|
||||
title = _("Toggle alternative EPUB content"),
|
||||
description = _([[
|
||||
The EPUB3 format allows a
|
||||
<epub:switch> <epub:case> <epub:default>
|
||||
construct to provide alternative content to engines that support optional features.
|
||||
KOReader currently falls back to hiding all <epub:case> content and shows the <epub:default> content (usually an image).
|
||||
This tweak toggles this behavior, and may show the <epub:case> content as plain text.]]),
|
||||
css = [[
|
||||
switch > case { display: inline; }
|
||||
switch > default { display: none; }
|
||||
]],
|
||||
},
|
||||
{
|
||||
id = "no_pseudo_element_before_after";
|
||||
title = _("Disable before/after pseudo elements"),
|
||||
|
||||
Reference in New Issue
Block a user