Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/editor/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@ const App: React.FC = () => {
{/* Document Area */}
<OverlayScrollArea
element="main"
className={`flex-1 min-w-0 bg-grid ${!sidebar.isOpen ? 'lg:pl-[30px]' : ''}`}
className={`flex-1 min-w-0 bg-grid relative z-20 ${!sidebar.isOpen ? 'lg:pl-[30px]' : ''}`}
data-print-region="document"
onViewportReady={handleViewportReady}
>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/components/TaterSpriteRunning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const TaterSpriteRunning: React.FC = () => {
right: -DISPLAY_WIDTH, // Start off-screen right
width: DISPLAY_WIDTH,
height: DISPLAY_HEIGHT,
zIndex: 5, // Above sidebars (z-auto) but below plan document (z-10)
zIndex: 15, // Above sidebar tabs / resize handles (z-10), below the <main> plan host (z-20). Plan's own z-10/z-50 are trapped inside overlayscrollbars' z-0 wrapper, so main's z-index — not planAreaRef's — is what actually beats the sprite.
backgroundImage: `url(${spriteSheet})`,
backgroundSize: `${TOTAL_SPRITE_WIDTH}px ${DISPLAY_HEIGHT}px`,
backgroundPosition: 'left center',
Expand Down