Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-04-11 10:04:56 -0700
committerCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-04-11 10:04:56 -0700
commit35a82e94e85c5b4f068e6e4d3d807dfc3c05379d (patch)
tree45df368a18b2fe4de816f2dd559902f365d28167 /style.css
parentdacecbb4f57142b8292bb53955a45f2cd5707f65 (diff)
Change record sheet visibility with JavaScript instead of CSS
since the CSS way doesn't work on my version of Firefox
Diffstat (limited to 'style.css')
-rw-r--r--style.css12
1 files changed, 0 insertions, 12 deletions
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;