From 35a82e94e85c5b4f068e6e4d3d807dfc3c05379d Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Thu, 11 Apr 2024 10:04:56 -0700
Subject: Change record sheet visibility with JavaScript instead of CSS
since the CSS way doesn't work on my version of Firefox
---
style.css | 12 ------------
1 file changed, 12 deletions(-)
(limited to 'style.css')
diff --git a/style.css b/style.css
index 9aeeb55..088cde4 100644
--- a/style.css
+++ b/style.css
@@ -68,23 +68,11 @@ div#content {
line-height: 1.5em;
}
-#content > div {
- display: none;
-}
-
#content input[type="checkbox"].visible {
position: absolute;
right: 0;
}
-#content:has(input[type="checkbox"].visible:checked) > div {
- display: block;
-}
-
-#content:has(input[type="checkbox"].visible:checked) div#record-sheet {
- display: flex;
-}
-
#record-sheet {
/* max-height: 100%; */
overflow-y: auto;
--
cgit v1.2.3