Files
Telegram-iOS/submodules/TelegramUI/Components
isaacandClaude Opus 4.8 1872832e28 Improve InstantPage V2 layout: true font-height line boxes + code-block style
- layoutTextItem now sizes a text item to the true font line height (A + D)
  instead of the cap box: the line stack starts at lineBoxTopInset (the
  ascender headroom, max(0, fontAscent - fontLineHeight)) and the returned
  height is padded by the last line's descender. Inter-line advance is
  unchanged and per-line frames stay the cap box, so the baseline draw,
  decorations, reveal mask, and inline attachments translate consistently;
  the page grows.
- Size inline custom emoji to ~the font line height
  (font.ascender - font.descender + 4*pointSize/17) so they fit the taller
  line box instead of overflowing it; the line is not inflated.
- Add a dedicated code-block text style for rich messages (monospace font +
  codeBlock theme attribute) threaded through the rich-data bubble and send
  preview; unify the bubble code-block/separator colors.
- Adjust inter-block spacings and assorted V2 layout/divider details.
- Document the true-font-height box and emoji sizing in CLAUDE.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 17:33:01 +02:00
..
2026-05-31 17:35:32 +02:00
2026-05-28 16:50:05 +02:00
2025-12-26 20:29:30 +08:00
2026-04-07 11:31:22 +02:00
2026-04-14 15:33:19 +02:00
2026-02-02 15:54:43 +04:00
2025-11-26 23:05:30 +08:00
2026-05-28 16:50:05 +02:00
2026-05-20 00:30:43 +08:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-31 17:35:32 +02:00
2026-01-25 22:17:49 +04:00
2026-05-31 17:35:32 +02:00
2026-03-11 18:51:44 +01:00
2026-05-28 16:50:05 +02:00
2026-03-24 22:51:44 +08:00
2026-03-28 00:52:16 +08:00
2026-04-07 11:31:22 +02:00
2026-04-07 11:31:22 +02:00
2026-01-25 22:17:49 +04:00
2026-02-03 20:17:44 +08:00
2026-05-27 19:05:44 +02:00
2026-04-07 11:31:22 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 17:23:58 +02:00
2026-05-28 16:50:05 +02:00
2025-12-01 22:13:33 +08:00
2026-05-20 00:33:32 +08:00
2026-03-22 05:17:29 +03:00
2026-02-27 14:34:18 +04:00
2026-01-25 22:17:49 +04:00
2026-05-05 14:57:06 +02:00
2026-05-28 16:50:05 +02:00
2026-03-10 19:33:45 +01:00
2026-01-25 00:31:18 +08:00
2026-04-15 23:12:53 +02:00
2026-05-28 16:50:05 +02:00
2026-04-07 11:31:22 +02:00
2026-05-28 16:50:05 +02:00
2026-05-31 17:35:32 +02:00
2026-05-31 17:35:32 +02:00
2026-04-24 04:55:22 +02:00
2026-03-30 02:55:35 +02:00
2026-04-16 01:18:22 +02:00
2026-05-28 16:50:05 +02:00
2026-01-25 00:31:18 +08:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-01-16 21:23:32 +08:00
2026-02-13 12:23:53 +04:00
2026-05-31 17:35:32 +02:00
2026-05-31 17:35:32 +02:00
WIP
2026-05-20 00:34:25 +08:00
2026-05-31 17:35:32 +02:00
2025-12-28 22:39:34 +08:00
2025-12-16 20:05:44 +04:00
2026-05-31 17:35:32 +02:00
2026-03-22 05:17:29 +03:00
2026-05-28 16:50:05 +02:00
2026-03-22 05:17:29 +03:00
2026-04-14 15:33:19 +02:00
2026-02-13 17:08:48 +04:00
2026-03-03 20:26:45 +04:00