From 775ffe42d72e70f26b8815009bafb72d80bb9072 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Wed, 8 Nov 2023 13:51:13 +0300 Subject: [PATCH] 0.0.205 Boris, please read my comments in 2 files --- static/css/mobile_styles.css | 26 +++++++++++++++++++++++--- static/js/user_profile_2.js | 12 +++++++----- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css index b1875b8..35b30f6 100644 --- a/static/css/mobile_styles.css +++ b/static/css/mobile_styles.css @@ -546,9 +546,10 @@ display: block; } - .block_overlay.show{ - display: block; - } + /* .block_overlay.show{*/ + /* display: block;*/ + /*}*/ + /*этот стиль перекрывал блок диалога в сообщения блюром*/ .text_f_curtain{ display: inline-block; @@ -669,8 +670,27 @@ } /*END profile_prof*/ +/*create_route*/ + + select#id_type_transport{ + width: unset; + background: white; + } + .departure_arrival>div:first-child, .from_to_place>div:first-child, .from_to_country>div:first-child, .phone>div:first-child{ + width: unset; + float: none; + } + .departure_arrival>div:nth-child(2), .from_to_place>div:nth-child(2), .from_to_country>div:nth-child(2){ + width: unset; + float: none; + } + +/*END create_route*/ + } + + @media (max-width: 992px) { .benefit_img>img{ display: none; diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index d8811ba..05c42b3 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -752,11 +752,13 @@ function open_curtain (left=null,right=null,overlay=null,close=null){ handler_text.innerHTML = curtain_name handler_text.style.fontSize = '16px' } - if (body.style.overflow === 'hidden'){ - body.style.overflow = '' - } else { - body.style.overflow = 'hidden' - } + //тут боди по неведомой для меня причне получал перманентный оверфлоу в значении hidden и вырубал все блоки кроме Новое Сообщение, вероятно для него эта проверка и делалась + // if (body.style.overflow === 'hidden'){ + // body.style.overflow = '' + // } else { + // body.style.overflow = 'hidden' + // } + }