Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svlt-grid-active and svlt-grid-shadow are misaligned #158

Open
MarcDAFrame opened this issue May 23, 2024 · 1 comment
Open

svlt-grid-active and svlt-grid-shadow are misaligned #158

MarcDAFrame opened this issue May 23, 2024 · 1 comment

Comments

@MarcDAFrame
Copy link

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

  • absolute
  • flex
  • margin

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?

Screen.Recording.2024-05-23.at.3.21.55.PM.mov
@MarcDAFrame
Copy link
Author

ok I figured it out it was because of a weird interaction with tailwind drop-shadow-md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant