atmosphere explorer
0
fork

Configure Feed

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

reduce width of values in og card

Juliet 0f4e0d17 97dd627d

+3 -2
+3 -2
src/worker.js
··· 208 208 const guideMargin = Math.round((fontSize * 19) / 18); 209 209 210 210 // Re-truncate string values if the larger font size means fewer chars fit. 211 - // Available width: 1200 canvas - 100 padding - 80 logo area; Roboto Mono char ≈ 0.6× fontSize. 212 - const maxStrWidth = Math.floor((1200 - 100 - 80) / (fontSize * 0.6)); 211 + // Available width: 1200 canvas - 100 padding - 80 logo area - 200 for key/depth overhead; 212 + // Roboto Mono char ≈ 0.6× fontSize. 213 + const maxStrWidth = Math.floor((1200 - 100 - 80 - 200) / (fontSize * 0.6)); 213 214 if (maxStrWidth < MAX_STRING_WIDTH) { 214 215 for (const line of lines) { 215 216 for (const seg of line.segments) {