Open MarcDAFrame opened 1 month ago
I have the following structure to my app
<div> <AbsoluteSidebar /> <div margin-left="sidebarwidth"> <SvelteGrid /> </div> </div>
when I remove the margin, the shadow is aligned with the active div I've tried other methods of moving the grid area to the left including
but always with the same issue where the offset is equal to how much I've moved it from the left.
Any thoughts on why this is happening?
https://github.com/vaheqelyan/svelte-grid/assets/12240832/fcadcc86-83e0-4003-80dd-e57561410517
ok I figured it out it was because of a weird interaction with tailwind drop-shadow-md
drop-shadow-md
I have the following structure to my app
when I remove the margin, the shadow is aligned with the active div I've tried other methods of moving the grid area to the left including
but always with the same issue where the offset is equal to how much I've moved it from the left.
Any thoughts on why this is happening?
https://github.com/vaheqelyan/svelte-grid/assets/12240832/fcadcc86-83e0-4003-80dd-e57561410517