From 27d85f0cda4d6f71a5a8eab8f416f29f01602b38 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Mon, 11 Mar 2024 00:32:51 +0000
Subject: Add rest of item stack picker

---
 components/editor/Sidebar.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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

diff --git a/components/editor/Sidebar.vue b/components/editor/Sidebar.vue
index 20168df..c48f3b4 100644
--- a/components/editor/Sidebar.vue
+++ b/components/editor/Sidebar.vue
@@ -29,7 +29,7 @@ const setSelectedType = (type: 'quests' | 'items') => {
         </span>
       </span>
     </div>
-    <div id="quests">
+    <div id="quests" v-if="currentType === 'quests'">
       <EditorSidebarCategory v-for="category in session.categories" :key="category.id" :category="category" />
       <EditorSidebarQuest
         v-for="quest in session.quests.filter((q) => (!session.categories.some((c) => c.id === q.options.category)))"
@@ -86,8 +86,8 @@ const setSelectedType = (type: 'quests' | 'items') => {
   }
 
   #quests {
-    max-height: calc(100vh - 73px - 46px);
-    overflow-y: scroll;
+    max-height: calc(100vh - 73px - 46px - 30px);
+    overflow-y: auto;
   }
 
   #configuration-container {
-- 
cgit v1.2.3-70-g09d2

