serdo I also apply this to prevent images, videos, or iframes from appearing—since they would otherwise get truncated—so that only the first three lines of text are shown, resulting in a more compact layout.
You can change how many lines to display; the default is 3.
/* Resumen de publicaciones en el perfil: solo texto, 3 líneas */
.PostsUserPage .Post-body {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-clamp: 3;
overflow: hidden;
max-height: none;
}
.PostsUserPage .Post-body img,
.PostsUserPage .Post-body picture,
.PostsUserPage .Post-body video,
.PostsUserPage .Post-body iframe {
display: none !important;
}
.PostsUserPage .Post-body p {
margin: 0;
}
2 screenshots—one with an image, one without—showing the final result

