(valueRem: number)
| 26 | THREAD_REPLY_ROW_PADDING_TOP_REM + THREAD_REPLY_AVATAR_SIZE_REM / 2; |
| 27 | |
| 28 | export function threadReplyLength(valueRem: number) { |
| 29 | if (valueRem === 0) return "0"; |
| 30 | return `${Number(valueRem.toFixed(5))}rem`; |
| 31 | } |
| 32 | |
| 33 | function clampVisibleDepth(depth: number) { |
| 34 | return Math.min(Math.max(depth, 0), THREAD_REPLY_MAX_VISIBLE_DEPTH); |
no outgoing calls
no test coverage detected