commit 281f6a2cb849f9a2e3366df974d01181e2c8b99e
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2026-10-14T05:53:13Z |
| subject | inert to none to avoid clickable hidden button |
commit 281f6a2cb849f9a2e3366df974d01181e2c8b99e
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2026-10-14T05:53:13Z
inert to none to avoid clickable hidden button
---
app/src/main/assets/reader/content.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/src/main/assets/reader/content.js b/app/src/main/assets/reader/content.js
index dc586c8..e0faca4 100644
--- a/app/src/main/assets/reader/content.js
+++ b/app/src/main/assets/reader/content.js
@@ -43,7 +43,7 @@
style.textContent = `
:host { color-scheme: light; }
* { box-sizing: border-box; }
- [hidden] { display: none !important; }
+ [hidden], [inert] { display: none !important; }
button, select, input { font: inherit; }
button, select { border: 1px solid var(--border); background: var(--bg); color: var(--fg); border-radius: 7px; padding: 7px 10px; }
button, a, select, input { touch-action: manipulation; }