From 9ea8892c906ea8ee9a7644f9f126a1c2377e1c98 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Wed, 13 Mar 2024 23:35:13 +0000
Subject: Add git sha1 to footer

---
 components/editor/EditorSidebar.vue | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'components/editor/EditorSidebar.vue')

diff --git a/components/editor/EditorSidebar.vue b/components/editor/EditorSidebar.vue
index 48e187f..7ac4996 100644
--- a/components/editor/EditorSidebar.vue
+++ b/components/editor/EditorSidebar.vue
@@ -52,8 +52,8 @@ const setSelectedType = (type: 'quests' | 'items') => {
 #sidebar-container {
   width: 20rem;
   border-right: 1px solid var(--color-border);
-  height: calc(100vh - 73px);
-  max-height: calc(100vh - 73px);
+  height: 100%;
+  max-height: 100%;
   background-color: var(--color-background);
   user-select: none;
   position: relative;
@@ -94,8 +94,9 @@ const setSelectedType = (type: 'quests' | 'items') => {
     }
   }
 
-  #quests {
-    max-height: calc(100vh - 73px - 46px - 30px);
+  #quests,
+  #items {
+    max-height: calc(100% - 46px - 30px);
     overflow-y: auto;
   }
 
-- 
cgit v1.2.3-70-g09d2

