From 8a7856a09f05f38c04b3aae1b05197c0ca4acb71 Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Fri, 19 Sep 2025 14:34:33 +0200 Subject: [PATCH] Auth: Fix scroll on small screens (#6214) --- src/assets/localization/fallback.strings | 4 +--- src/components/auth/Auth.scss | 1 + src/types/language.d.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/assets/localization/fallback.strings b/src/assets/localization/fallback.strings index edd80af39..54d7089da 100644 --- a/src/assets/localization/fallback.strings +++ b/src/assets/localization/fallback.strings @@ -336,7 +336,6 @@ "Search" = "Search"; "Contacts" = "Contacts"; "Settings" = "Settings"; -"MenuNightMode" = "Night Mode"; "SettingsDisableNightTheme" = "Disable night mode"; "SettingsEnableNightTheme" = "Enable night mode"; "TelegramPremium" = "Telegram Premium"; @@ -2257,7 +2256,6 @@ "NotificationPaidExtraSearch" = "{stars} spent on extra search."; "PostsSearchTransaction" = "Posts Search"; "AllStoriesCategory" = "All stories"; -"PostsSearchTransaction" = "Public Post Search"; "TitleRating" = "Rating"; "RatingReflectsActivity" = "This rating reflects {name}'s activity on Telegram. It is based on:"; "RatingYourReflectsActivity" = "This rating reflects your activity on Telegram. It is based on:"; @@ -2281,4 +2279,4 @@ "ContextMenuHintMouse" = "To edit or reply, close this menu. Then right click on a message."; "ContextMenuHintTouch" = "To edit or reply, close this menu. Then long tap on a message."; "GiftValueForSaleOnFragment" = "for sale on Fragment"; -"GiftValueForSaleOnTelegram" = "for sale on Telegram"; \ No newline at end of file +"GiftValueForSaleOnTelegram" = "for sale on Telegram"; diff --git a/src/components/auth/Auth.scss b/src/components/auth/Auth.scss index 7cd43ab0f..64213282e 100644 --- a/src/components/auth/Auth.scss +++ b/src/components/auth/Auth.scss @@ -83,6 +83,7 @@ #auth-password-form, #auth-qr-form { overflow-y: auto; + height: 100%; } #auth-phone-number-form { diff --git a/src/types/language.d.ts b/src/types/language.d.ts index 64b4a0e4b..f53af1f0c 100644 --- a/src/types/language.d.ts +++ b/src/types/language.d.ts @@ -294,7 +294,6 @@ export interface LangPair { 'Search': undefined; 'Contacts': undefined; 'Settings': undefined; - 'MenuNightMode': undefined; 'SettingsDisableNightTheme': undefined; 'SettingsEnableNightTheme': undefined; 'TelegramPremium': undefined; @@ -1207,6 +1206,7 @@ export interface LangPair { 'MenuArchivedChats': undefined; 'MenuContacts': undefined; 'MenuSettings': undefined; + 'MenuNightMode': undefined; 'AriaMenuEnableNightMode': undefined; 'AriaMenuDisableNightMode': undefined; 'MenuAnimationsSwitch': undefined;