Skip to content

Commit ec9e7c0

Browse files
committed
Fixed Empty Space When Comments Are Collapsed
Signed-off-by: Tal Jacob <taljacob2@gmail.com>
1 parent 0496ffd commit ec9e7c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nextstep-frontend/src/pages/PostDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ const PostDetails: React.FC = () => {
237237
<Typography color="error">{error}</Typography>
238238
) : (
239239
post && (
240-
<Paper sx={{ p: 4, width: '100%', height: '70vh', overflowY: 'auto', }}>
240+
<Paper sx={{ p: 4, width: '100%' }}>
241241
<Box sx={{ display: 'flex', alignItems: 'center', mb: 2 }}>
242242
<Avatar
243243
src={profileImage}

0 commit comments

Comments
 (0)