From 25aabd69d9eec50be7df7e3d9218eddba0cc3f98 Mon Sep 17 00:00:00 2001 From: poire-z Date: Fri, 2 Apr 2021 18:12:12 +0200 Subject: [PATCH] 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. --- frontend/ui/data/css_tweaks.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/frontend/ui/data/css_tweaks.lua b/frontend/ui/data/css_tweaks.lua index dd716437d..f204351d7 100644 --- a/frontend/ui/data/css_tweaks.lua +++ b/frontend/ui/data/css_tweaks.lua @@ -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 - -construct to provide alternative content to engines that support optional features. -KOReader currently falls back to hiding all content and shows the content (usually an image). -This tweak toggles this behavior, and may show the 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"),