Skip to content

Commit

Permalink
Fix :not bug for Svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 committed Nov 5, 2024
1 parent f908181 commit e9a4c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/svader/src/lib/BaseShader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@
position: absolute;
left: var(--offset-x);
}
canvas:not(.offset-from-bottom) {
top: var(--offset-y);
}
canvas.offset-from-bottom {
top: unset;
bottom: var(--offset-y);
}
</style>

0 comments on commit e9a4c8c

Please sign in to comment.