Skip to content

Commit

Permalink
blocks resizehandle is fixed now
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-karger committed Dec 2, 2024
1 parent 7af279c commit e0fb741
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/src/components/block-display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function BlockDisplay(props: { name: string }) {
>
<iframe
src={`/blocks/${item().name}`}
class="pointer-events-none relative z-20 hidden h-[800px] w-full bg-background md:block"
class="relative z-20 hidden h-[800px] w-full bg-background md:block"
/>
</ResizablePanel>
<ResizableHandle class="relative hidden w-3 bg-transparent p-0 after:absolute after:right-0 after:top-1/2 after:h-8 after:w-[6px] after:-translate-x-px after:-translate-y-1/2 after:rounded-full after:bg-border after:transition-all after:hover:h-10 md:block" />
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/src/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,7 @@
::-webkit-scrollbar-corner {
display: none;
}

[data-corvu-resizable-panel]:has(+ [data-corvu-resizable-handle][data-dragging]) iframe {
pointer-events: none;
}

0 comments on commit e0fb741

Please sign in to comment.