From 5df84bcb4feb421ed330e1c583edf2550b5c0ecb Mon Sep 17 00:00:00 2001 From: poire-z Date: Tue, 17 Aug 2021 15:41:03 +0200 Subject: [PATCH] Footnote popups/in-page: support type/role=endnote --- base | 2 +- frontend/ui/data/css_tweaks.lua | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/base b/base index 3e006501d..1b9094bde 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 3e006501df33c5784f2babea0e5764942a85db4e +Subproject commit 1b9094bde3d055622df568e4a015e14233fc41b3 diff --git a/frontend/ui/data/css_tweaks.lua b/frontend/ui/data/css_tweaks.lua index 941cfcc7c..0aa1be5a6 100644 --- a/frontend/ui/data/css_tweaks.lua +++ b/frontend/ui/data/css_tweaks.lua @@ -729,9 +729,11 @@ This only works with footnotes that have specific attributes set by the publishe -- Restrict this to non-FB2 documents, as FB2 can have css = [[ *[type~="note"], +*[type~="endnote"], *[type~="footnote"], *[type~="rearnote"], *[role~="doc-note"], +*[role~="doc-endnote"], *[role~="doc-footnote"], *[role~="doc-rearnote"] { @@ -751,9 +753,11 @@ This only works with footnotes that have specific attributes set by the publishe -- and we don't want to have them smaller css = [[ *[type~="note"], +*[type~="endnote"], *[type~="footnote"], *[type~="rearnote"], *[role~="doc-note"], +*[role~="doc-endnote"], *[role~="doc-footnote"], *[role~="doc-rearnote"] {