this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(profile): clamp what's new preview

Show a concise two-line latest update preview before expanding to the full text.

Made-with: Cursor

+6 -1
+5
assets/styles.css
··· 5090 5090 display: none; 5091 5091 } 5092 5092 .profile-whats-new-preview { 5093 + display: -webkit-box; 5094 + overflow: hidden; 5093 5095 order: 1; 5096 + -webkit-box-orient: vertical; 5097 + -webkit-line-clamp: 2; 5098 + white-space: normal; 5094 5099 } 5095 5100 .profile-whats-new-full { 5096 5101 order: 3;
+1 -1
components/explore/ProfileWhatsNew.tsx
··· 13 13 }; 14 14 } 15 15 16 - const BODY_PREVIEW_LENGTH = 220; 16 + const BODY_PREVIEW_LENGTH = 240; 17 17 18 18 function dateLabel(ms: number): string { 19 19 return new Intl.DateTimeFormat("en", {