Skip to content

Commit e0fb741

Browse files
committed
blocks resizehandle is fixed now
1 parent 7af279c commit e0fb741

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apps/docs/src/components/block-display.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function BlockDisplay(props: { name: string }) {
7777
>
7878
<iframe
7979
src={`/blocks/${item().name}`}
80-
class="pointer-events-none relative z-20 hidden h-[800px] w-full bg-background md:block"
80+
class="relative z-20 hidden h-[800px] w-full bg-background md:block"
8181
/>
8282
</ResizablePanel>
8383
<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" />

apps/docs/src/styles/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,7 @@
142142
::-webkit-scrollbar-corner {
143143
display: none;
144144
}
145+
146+
[data-corvu-resizable-panel]:has(+ [data-corvu-resizable-handle][data-dragging]) iframe {
147+
pointer-events: none;
148+
}

0 commit comments

Comments
 (0)