brendmanager/openspec/changes/archive/2026-11-16-brm-41-telegram-cover-name/design.md
2026-11-16 23:31:31 +05:00

4 lines
595 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Решение
В `build.mjs` у обложки Telegram кегль имени подбирается по свободной ширине (ширина имени ≈ 9,3 кегля PT Serif Bold): без фото — до полей и запас 60 px, с фото — до круга с зазором 40 px. Круг, цвета, шрифты, подпись не менялись; подпись поднята вместе с именем. Остальные обложки/посты вызываются без `fitName`.
Картинки «до/после» — в `before-after/`.