<?xml version="1.0" encoding="utf-8"?>

Truncate longer comments

Truncate longer comments Bad Practice
Truncate longer comments Best Practice

Instead of breaking the preview layout when displaying longer comments, truncate them. Shorten the comment, replace the missing part with ellipses and add a Read more button to unfurl the full text.[1] This helps optimize the layout and doesn't feel overwhelming to users.

Improve your UX & Product skills with interactive courses that actually work