Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: make carousel slides scrollable (#1874)

Myles Scolnick79c3a5502fb0
diff --git a/frontend/src/components/slides/slides-component.tsx b/frontend/src/components/slides/slides-component.tsx
index f41e65fab1..6e63bdf488 100644
--- a/frontend/src/components/slides/slides-component.tsx
+++ b/frontend/src/components/slides/slides-component.tsx
@@ -97,11 +97,12 @@ const SlidesComponent = ({
}
}}
className={cn(
- "h-full w-full flex items-center justify-center box-border overflow-hidden",
+ "h-full w-full flex box-border overflow-y-auto overflow-x-hidden",
isFullscreen ? "p-20" : "p-6",
)}
>
- {child}
+ {/* this centers the contents */}
+ <div className="m-auto">{child}</div>
</div>
</SwiperSlide>
);