Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-03-27 14:49:57 -0700
committerCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-03-27 14:49:57 -0700
commitca6eb9abab1c5a4f999a379084cccd78861f810f (patch)
treeb31f0660b1010c167e427274264f2d8daaa9d657 /style.css
parent6c940cf89aae3c610c8f8406da7b5810466a75cc (diff)
Grow/shrink record sheet as viewport size permits
Diffstat (limited to 'style.css')
-rw-r--r--style.css19
1 files changed, 11 insertions, 8 deletions
diff --git a/style.css b/style.css
index 9603e1a..98d8373 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,9 @@
+@media (width >= 1800px) {
+ #record-sheet {
+ display: flex;
+ }
+}
+
body {
margin: 0;
max-height: 100vh;
@@ -17,11 +23,14 @@ svg {
div#content {
flex-basis: 0;
/* overflow: scroll; */
+ max-height: 100vh;
+ display: flex;
+ flex-direction: column;
}
#record-sheet {
- max-height: 100vh;
- overflow: auto;
+ /* max-height: 100%; */
+ overflow-y: auto;
/* display: flex; */
/* display: none; */
}
@@ -158,10 +167,4 @@ rect#debug-view-box {
stroke-width: 20px; */
fill: blue;
fill-opacity: 0.2;
-}
-
-@media (width >= 1800px) {
- body {
- display: flex;
- }
} \ No newline at end of file