This commit is contained in:
2023-11-10 16:21:08 +03:00
parent 7e316bbc73
commit dd2cc62d01
3 changed files with 15 additions and 12 deletions

View File

@@ -553,9 +553,9 @@
display: block;
}
/* .block_overlay.show{*/
/* display: block;*/
/*}*/
.block_overlay.show{
display: block;
}
/*этот стиль перекрывал блок диалога в сообщения блюром*/
.text_f_curtain{
@@ -581,7 +581,7 @@
/*background: rgba(39, 53, 62, 0.7);*/
backdrop-filter: blur(6px);
z-index: 100;
position: absolute;
position: fixed;
top: -55px;
right: 0;
}

View File

@@ -37,8 +37,8 @@ function select_tab_profile (el,url,owner_type=null) {
let list_div = document.querySelectorAll('.menu_profile div');
list_div.forEach(el=>{ el.classList.remove('selected'); });
el.classList.add('selected')
let body = document.querySelector("body")
body.style.overflow = "hidden"
// let body = document.querySelector("body")
// body.style.overflow = "hidden"
let confirm_url_f_lang_ru = ''
let confirm_url_f_lang_en = ''
if (owner_type){
@@ -754,10 +754,10 @@ function open_curtain (left=null,right=null,overlay=null,close=null){
}
//тут боди по неведомой для меня причне получал перманентный оверфлоу в значении hidden и вырубал все блоки кроме Новое Сообщение, вероятно для него эта проверка и делалась
if (body.style.overflowX === 'hidden'){
body.style.overflowX = ''
if (body.style.overflowY === 'hidden'){
body.style.overflowY = ''
} else {
body.style.overflowX = 'hidden'
body.style.overflowY = 'hidden'
}
}
@@ -816,9 +816,12 @@ function getInfoCurtain (curtain,zIndex,name) {
} else {
let new_curtain = getOpenCurtain()
let type_curt = getTypeOfData(new_curtain)
if (type_curt === 'object'){
new_curtain = new_curtain[0]
if (new_curtain[0]){
if (type_curt === 'object'){
new_curtain = new_curtain[0]
}
}
if (name){
let dataset = new_curtain.dataset
let name = ''

View File

@@ -15,7 +15,7 @@
<div class="f-r">
<div class="cur_subscribe_label">Текущая подписка:</div>
<div class="cur_subscribe_f_profile">{{ user_subscribe.subscribe.name }}</div>
<div class="btn_go_to_subscribes pointer" onclick="mySubscription(this)">Перейти к подпискам</div>
<div class="btn_go_to_subscribes pointer" onclick="select_tab_profile(this,'show_cur_subscribe')">Перейти к подпискам</div>
</div>
<div class="clear_both"></div>
</div>