From ba01d82bbb7d96c24e88a0abc7779524807e061e Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 12 Apr 2022 22:22:26 +0000 Subject: [PATCH] Update content of files --- .../translations.telegram.org/en/android.html | 4 +-- .../en/android/settings.html | 13 ++++++++ .../en/android/unsorted.html | 31 ++++++------------- data/webappcontent.telegram.org/cafe.html | 4 +-- data/webappcontent.telegram.org/css/cafe.css | 10 ++---- data/webappcontent.telegram.org/demo.html | 8 +++++ 6 files changed, 37 insertions(+), 33 deletions(-) diff --git a/data/translations.telegram.org/en/android.html b/data/translations.telegram.org/en/android.html index 711c0a4856..45c2ed07d6 100644 --- a/data/translations.telegram.org/en/android.html +++ b/data/translations.telegram.org/en/android.html @@ -208,7 +208,7 @@
diff --git a/data/translations.telegram.org/en/android/settings.html b/data/translations.telegram.org/en/android/settings.html index e21fc390b6..43feaa3c20 100644 --- a/data/translations.telegram.org/en/android/settings.html +++ b/data/translations.telegram.org/en/android/settings.html @@ -12531,6 +12531,19 @@
+
+
+ +
+
+
+
+ + +
SoundNameEmpty
+
+ +
diff --git a/data/translations.telegram.org/en/android/unsorted.html b/data/translations.telegram.org/en/android/unsorted.html index 2f45a067e9..331cfeecd2 100644 --- a/data/translations.telegram.org/en/android/unsorted.html +++ b/data/translations.telegram.org/en/android/unsorted.html @@ -112,19 +112,6 @@
-
-
- -
-
-
-
- - -
SoundNameEmpty
-
- -
@@ -2598,8 +2585,7 @@
-
Load More
-
+
@@ -2612,7 +2598,8 @@
-
+
Load More
+
@@ -5199,8 +5186,7 @@
-
Load More
-
+
@@ -5213,7 +5199,8 @@
-
+
Load More
+
@@ -7800,8 +7787,7 @@
-
Load More
-
+
@@ -7814,7 +7800,8 @@
-
+
Load More
+
diff --git a/data/webappcontent.telegram.org/cafe.html b/data/webappcontent.telegram.org/cafe.html index 1f97efd6d4..b9b52f7b25 100644 --- a/data/webappcontent.telegram.org/cafe.html +++ b/data/webappcontent.telegram.org/cafe.html @@ -17,7 +17,7 @@ Telegram.WebApp.onEvent('themeChanged', setThemeClass); setThemeClass(); - +
@@ -441,7 +441,7 @@
- + diff --git a/data/webappcontent.telegram.org/css/cafe.css b/data/webappcontent.telegram.org/css/cafe.css index d87f3f671b..df1be4f0ec 100644 --- a/data/webappcontent.telegram.org/css/cafe.css +++ b/data/webappcontent.telegram.org/css/cafe.css @@ -81,9 +81,8 @@ body.order-mode .cafe-items { .cafe-item-shadow { position: relative; width: 120px; - height: 144px; - padding: 4px 5px 6px; - margin-bottom: 15px; + height: 159px; + padding: 4px 5px 21px; box-sizing: border-box; text-align: center; } @@ -346,7 +345,6 @@ body.order-mode .cafe-order-overview { .cafe-order-item-description { font-size: 14px; line-height: 17px; - font-weight: 500; -webkit-font-smoothing: antialiased; color: var(--page-hint-color); padding: 2px 0; @@ -365,7 +363,6 @@ body.order-mode .cafe-order-overview { font-family: var(--default-font); font-size: 17px; line-height: 21px; - font-weight: 500; -webkit-font-smoothing: antialiased; padding: 12px 20px 13px; box-sizing: border-box; @@ -402,9 +399,8 @@ body.order-mode .cafe-order-overview { font-family: var(--default-font); font-size: 14px; line-height: 18px; - font-weight: 500; -webkit-font-smoothing: antialiased; - padding: 10px 20px 14px; + padding: 10px 20px 24px; color: var(--hint-color); } diff --git a/data/webappcontent.telegram.org/demo.html b/data/webappcontent.telegram.org/demo.html index cfe263a2d9..096e8c6153 100644 --- a/data/webappcontent.telegram.org/demo.html +++ b/data/webappcontent.telegram.org/demo.html @@ -179,6 +179,10 @@ Data passed to webview.
+
+
+ Theme params +
@@ -323,11 +327,15 @@ function requestAudio(el) { return false; } +Telegram.WebApp.onEvent('themeChanged', function() { + $('#theme_data').html(JSON.stringify(Telegram.WebApp.themeParams, null, 2)); +}); $('#main_btn').toggle(!!WebAppData.query_id); $('#with_webview_btn').toggle(!!WebAppData.query_id && !WebAppData.receiver); // $('#data_btn').toggle(!WebAppData.query_id || !WebAppData.receiver); $('#webview_data').html(JSON.stringify(WebAppData, null, 2)); +$('#theme_data').html(JSON.stringify(Telegram.WebApp.themeParams, null, 2)); $('#regular_link').attr('href', $('#regular_link').attr('href') + location.hash); $('#text_field').focus(); if (WebAppData.query_id && WebAppDataRaw) {