From e6260ac10743239c1a359225d844e4b30751f49d Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 15 Sep 2014 23:31:26 +0400 Subject: [PATCH] Fixed countries modal scroll --- app/css/app.css | 3 +++ app/js/controllers.js | 2 +- app/partials/desktop/login.html | 2 +- app/partials/mobile/country_select_modal.html | 2 +- app/partials/mobile/login.html | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/css/app.css b/app/css/app.css index a9051b24..78e56e2a 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -788,6 +788,9 @@ a.tg_radio_on:hover i.icon-radio { .login_phone_number { width: 198px; } +.login_phone_code { + text-align: center; +} .login_first_name_wrap { margin-bottom: 11px; } diff --git a/app/js/controllers.js b/app/js/controllers.js index 8fa9163e..ed58abab 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -59,7 +59,7 @@ angular.module('myApp.controllers', []) function initPhoneCountry () { var langCode = (navigator.language || '').toLowerCase(), countryIso2 = Config.LangCountries[langCode], - shouldPregenerate = !Config.Mobile; + shouldPregenerate = !Config.Navigator.mobile; if (['en', 'en-us', 'en-uk'].indexOf(langCode) == -1) { if (countryIso2 !== undefined) { diff --git a/app/partials/desktop/login.html b/app/partials/desktop/login.html index 143dfc92..8f1a8b45 100644 --- a/app/partials/desktop/login.html +++ b/app/partials/desktop/login.html @@ -52,7 +52,7 @@
- +