Skip to content

Commit

Permalink
Restrict blocking of table popup to just Apple Books
Browse files Browse the repository at this point in the history
This was causing an undesired inability to select text on Kobo. Of course, it turns out that we also can’t select text on Books either, but at least this fixes non-Books scenarios.
  • Loading branch information
robinwhittleton authored and acabal committed Dec 18, 2024
1 parent 55e92f6 commit d3d4892
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions se/data/templates/compatibility.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ img.mathml{

/* Apple Books will load a pannable zoomable table view when clicked, which is useful unless you’re
trying to read a piece of drama. */
[epub|type~="z3998:drama"] table,
table[epub|type~="z3998:drama"]{
:root[__ibooks_internal_theme] [epub|type~="z3998:drama"] table,
:root[__ibooks_internal_theme] table[epub|type~="z3998:drama"]{
pointer-events: none;
}

[epub|type~="z3998:drama"] table a,
table[epub|type~="z3998:drama"] a{
:root[__ibooks_internal_theme] [epub|type~="z3998:drama"] table a,
:root[__ibooks_internal_theme] table[epub|type~="z3998:drama"] a{
pointer-events: auto;
}

0 comments on commit d3d4892

Please sign in to comment.