Skip to content

Commit 663faae

Browse files
fix(web): remove overflow-hidden and add bottom padding to prevent IDE demo cutoff
Removed overflow-hidden from Section component and added bottom padding to hero container to ensure IDE demo content is fully visible. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent 7e5dec7 commit 663faae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default function Home() {
106106
<Section background={SECTION_THEMES.hero.background} hero fullViewport>
107107
<div
108108
className={cn(
109-
'codebuff-container h-full flex flex-col transition-all duration-1000'
109+
'codebuff-container min-h-full flex flex-col transition-all duration-1000 pb-8'
110110
)}
111111
>
112112
<div className={cn('w-full mb-8 md:mb-12 flex-shrink-0')}>

web/src/components/ui/section.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ export function Section({
5555

5656
return (
5757
<motion.section
58-
className={cn('relative overflow-hidden', className)}
58+
className={cn('relative', className)}
5959
initial={false}
6060
animate={{
61-
minHeight: fullViewport && !isMobile ? '95svh' : 'auto',
61+
minHeight: fullViewport ? '95dvh' : 'auto',
6262
}}
6363
transition={{
6464
duration: 1,

0 commit comments

Comments
 (0)