Revert "Issue 254: Proposed fix (#424)"

This reverts commit a20d04bc80.

This left small artifacts on the right side of modals on mobile.
This commit is contained in:
Jon Staab 2024-09-25 11:03:26 -07:00
parent 97db5a8a88
commit 28642ed4cf

View File

@ -82,7 +82,7 @@
<slot name="wrapper">
<div transition:fade class="fixed inset-0 z-modal" class:pointer-events-none={closing}>
<div
class="fixed inset-y-0 left-0 right-[17px] cursor-pointer bg-black opacity-50"
class="fixed inset-0 cursor-pointer bg-black opacity-50"
on:click|stopPropagation={tryClose} />
<div
class="modal-content h-full overflow-auto"
@ -111,7 +111,7 @@
</div>
</div>
{/if}
<AltColor background class="absolute mt-12 h-full w-[calc(100%-17px)]" />
<AltColor background class="absolute mt-12 h-full w-full" />
<div on:click|stopPropagation>
<AltColor
background