This commit is contained in:
SBD
2023-11-25 13:21:53 +03:00
parent 9f7550eaae
commit e5ea92df3d
2 changed files with 14 additions and 12 deletions

View File

@@ -439,7 +439,7 @@
} }
.block-chat{ .block-chat{
width: 66%; width: 63%;
height: calc(100vh - 120px); height: calc(100vh - 120px);
border-radius: 10px; border-radius: 10px;
border: 1px solid #E6E6E6; border: 1px solid #E6E6E6;

View File

@@ -738,6 +738,7 @@ function toggle_cut_width_curtain (el) {
} }
function close_first_curt (curtain) { function close_first_curt (curtain) {
if (!window.location.href.includes("profile") || getInfoAboutUser() === 'mobile'){
let curtains = document.querySelectorAll(".curtain.open") let curtains = document.querySelectorAll(".curtain.open")
let i = 0 let i = 0
if (curtains.length >= 2){ if (curtains.length >= 2){
@@ -751,6 +752,7 @@ function close_first_curt (curtain) {
i++ i++
}) })
} }
}
} }
function set_curtain_z_index (curtain) { function set_curtain_z_index (curtain) {