2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-10-15 14:08:05 +00:00

Redesign web pages preview.

This commit is contained in:
John Preston
2023-10-17 12:57:35 +04:00
parent b9af4f3cb0
commit f8d5a8a203
10 changed files with 241 additions and 177 deletions

View File

@@ -113,7 +113,8 @@ void InitTextOptions() {
= WebpageDescriptionOptions.maxw
= st::msgMaxWidth
- st::msgPadding.left()
- st::webPageLeft
- st::messageQuoteStyle.padding.left()
- st::messageQuoteStyle.padding.right()
- st::msgPadding.right();
WebpageDescriptionOptions.maxh = st::webPageDescriptionFont->height * 3;
}