Refactoring(layout): move infobox to right modal; fix minimap

This commit is contained in:
Pieter Vander Vennet 2023-04-16 04:13:09 +02:00
parent 37ab1e5735
commit 9a282cbce4
6 changed files with 107 additions and 144 deletions

View file

@ -9,7 +9,7 @@
</script>
<div class="absolute top-0 right-0 w-screen h-screen overflow-auto" style="background-color: #00000088">
<div class="flex flex-col m-4 sm:m-6 md:m-8 p-4 sm:p-6 md:m-8 normal-background rounded normal-background">
<div class="flex flex-col m-4 sm:m-6 p-4 sm:p-6 md:m-8 rounded normal-background">
<slot name="close-button">
<div class="w-8 h-8 absolute right-10 top-10 cursor-pointer" on:click={() => dispatch("close")}>
<XCircleIcon />