From 909dbf4280a1f080c578a57610c7a0309397122d Mon Sep 17 00:00:00 2001 From: Dennis Postma <dennis@directonline.io> Date: Thu, 6 Feb 2025 14:36:28 +0100 Subject: [PATCH] Fix for scroll --- src/components/gameMaster/mapEditor/partials/TileList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/gameMaster/mapEditor/partials/TileList.vue b/src/components/gameMaster/mapEditor/partials/TileList.vue index e431d0e..dba38ec 100644 --- a/src/components/gameMaster/mapEditor/partials/TileList.vue +++ b/src/components/gameMaster/mapEditor/partials/TileList.vue @@ -4,10 +4,10 @@ <div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500"> <h3 class="text-lg text-white">Tiles</h3> </div> - <div class="overflow-hidden grow relative"> - <div class="absolute w-full h-full top-0 left-0"> + <div class="overflow-y-auto grow relative"> + <div class="h-full w-full"> <div class="relative z-10 h-full"> - <div class="grid auto-rows-max gap-2 justify-items-center m-4" style="grid-template-columns: repeat(auto-fill, minmax(80px, 1fr))"> + <div class="grid auto-rows-max gap-2 justify-items-center p-4" style="grid-template-columns: repeat(auto-fill, minmax(80px, 1fr))"> <template v-if="!selectedGroup"> <div v-for="group in groupedTiles" :key="group.parent.id" class="flex flex-col items-center justify-center relative"> <img