about summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-02-21 00:40:09 +0100
committerMel <einebeere@gmail.com>2022-02-21 00:40:09 +0100
commit20cf91ce9f49c994fae9448c4ae6f93d4bc79323 (patch)
tree8321a6c1110675b705b7b0d2186b01ec0270528f /assets
parent2e6c8f3acd4f7207b31b2def0d60857db4695a94 (diff)
downloadrook-20cf91ce9f49c994fae9448c4ae6f93d4bc79323.tar.zst
rook-20cf91ce9f49c994fae9448c4ae6f93d4bc79323.zip
Lock requests list to window top and shrink main
Diffstat (limited to 'assets')
-rw-r--r--assets/public/css/app.css7
-rw-r--r--assets/src/components/SharePage.svelte13
2 files changed, 20 insertions, 0 deletions
diff --git a/assets/public/css/app.css b/assets/public/css/app.css
index e23b16e..e23d13d 100644
--- a/assets/public/css/app.css
+++ b/assets/public/css/app.css
@@ -47,8 +47,15 @@ main {
     }
 }
 
+@media (min-width: 1400px) {
+    main {
+        width: 50%;
+    }
+}
+
 .left-segment {
     width: 315px;
+    box-sizing: border-box;
 }
 
 .right-segment {
diff --git a/assets/src/components/SharePage.svelte b/assets/src/components/SharePage.svelte
index 9fd0c59..826f70e 100644
--- a/assets/src/components/SharePage.svelte
+++ b/assets/src/components/SharePage.svelte
@@ -34,3 +34,16 @@
         }
     </style>
 </svelte:head>
+
+<style>
+    .right-segment {
+        height: 100%;
+        margin-top: 15rem;
+    }
+
+    @media (max-width: 850px) {
+        .right-segment {
+            margin-top: 0;
+        }
+    }
+</style>