@@ -310,7 +310,7 @@ export default function Reels() {
310310 const gradients = [ "linear-gradient(135deg,#7c3aed,#db2777)" , "linear-gradient(135deg,#f59e0b,#ef4444)" , "linear-gradient(135deg,#10b981,#3b82f6)" ] ;
311311
312312 return (
313- < div style = { { background :"#000" , height :"100vh" , overflow :"hidden" , position :"relative" } } >
313+ < div style = { { background :"#000" , height :"100vh" , overflow :"hidden" , position :"relative" , paddingBottom : "0" } } >
314314
315315 { /* Header */ }
316316 < div style = { { position :"fixed" , top :0 , left :0 , right :0 , zIndex :100 , padding :"0.75rem 1rem" , display :"flex" , justifyContent :"space-between" , alignItems :"center" } } >
@@ -330,7 +330,7 @@ export default function Reels() {
330330 < button onClick = { ( ) => navigate ( "/upload" ) } style = { { background :"linear-gradient(135deg,#7c3aed,#db2777)" , border :"none" , borderRadius :"8px" , color :"white" , padding :"0.5rem 1rem" , cursor :"pointer" , marginTop :"1rem" } } > Upload Video</ button >
331331 </ div >
332332 ) : posts . map ( ( p , i ) => (
333- < div key = { p . id || i } style = { { height :"100vh" , width :"100vw" , scrollSnapAlign :"start" , scrollSnapStop :"always" , position :"relative" , background :"#000" , overflow :"hidden" } } >
333+ < div key = { p . id || i } style = { { height :"100vh" , width :"100vw" , scrollSnapAlign :"start" , scrollSnapStop :"always" , position :"relative" , background :"#000" , overflow :"hidden" , boxSizing : "border-box" } } >
334334
335335 { /* Media */ }
336336 { p . mediaUrl ? (
@@ -365,7 +365,7 @@ export default function Reels() {
365365 < div style = { { position :"absolute" , inset :0 , background :"linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 25%, transparent 50%, rgba(0,0,0,0.6) 75%, rgba(0,0,0,0.92) 100%)" , zIndex :1 , pointerEvents :"none" } } />
366366
367367 { /* Right Actions */ }
368- < div style = { { position :"absolute" , right :"1rem" , bottom :"5. 5rem" , display :"flex" , flexDirection :"column" , alignItems :"center" , gap :"1.5rem" , zIndex :10 } } >
368+ < div style = { { position :"absolute" , right :"1rem" , bottom :"5rem" , display :"flex" , flexDirection :"column" , alignItems :"center" , gap :"1.5rem" , zIndex :10 } } >
369369 { /* Like */ }
370370 < div onClick = { ( ) => handleLike ( p . id ) } style = { { display :"flex" , flexDirection :"column" , alignItems :"center" , gap :"0.3rem" , cursor :"pointer" } } >
371371 < span style = { { fontSize :"1.8rem" , filter :liked [ p . id ] ?"drop-shadow(0 0 6px red)" :"none" } } > { liked [ p . id ] ?"❤️" :"🤍" } </ span >
@@ -388,7 +388,7 @@ export default function Reels() {
388388 </ div >
389389
390390 { /* Bottom Info */ }
391- < div style = { { position :"absolute" , bottom :"4rem " , left :"1rem" , right :"5rem" , zIndex :10 } } >
391+ < div style = { { position :"absolute" , bottom :"3.5rem " , left :"1rem" , right :"5rem" , zIndex :10 } } >
392392 < div style = { { display :"flex" , alignItems :"center" , gap :"0.5rem" , marginBottom :"0.5rem" } } >
393393 { /* Tappable Avatar */ }
394394 < div onClick = { ( ) => openProfileCard ( p . username ) } style = { { cursor :"pointer" , flexShrink :0 } } >
0 commit comments