Skip to content

Commit 4fc7fe9

Browse files
committed
fix video spacing on mobile
1 parent ccf6d25 commit 4fc7fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/[id].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default function Post({
135135
loop
136136
muted
137137
width={videoMetadata[props.src].width}
138-
height={videoMetadata[props.src].height}>
138+
height="auto">
139139
<source src={`/posts/${id}/${props.src}`} type="video/mp4"></source>
140140
</video>
141141
}

0 commit comments

Comments
 (0)