This commit is contained in:
2023-11-07 14:56:00 +03:00
parent a19017351b
commit fe4539c9ed
4 changed files with 16 additions and 3 deletions

View File

@@ -432,6 +432,11 @@
}
.cut_width_f_curtain{
position: sticky;
top: 61px;
}
.menu_buttons.right.close{
right: -320px;
transition: 200ms;

View File

@@ -2214,10 +2214,10 @@
.cut_width_f_curtain{
max-width: 1280px;
text-align: -webkit-right;
position: sticky;
position: relative;
margin: auto;
z-index: 10002;
top: 61px;
top: 0;
}
.menu_buttons{
@@ -2231,6 +2231,8 @@
}
.menu_buttons.right.close{
right: 0;
transition: 200ms;

View File

@@ -143,6 +143,7 @@ html, body{
margin: 0 auto;
max-width: 1280px;
position: relative;
min-height: 695px;
}
/*.wrapper_main{*/

View File

@@ -787,7 +787,12 @@ function getOpenCurtain () {
curtains.forEach(function (){
let el = curtains[i]
if (el.classList.contains('open')){
curtain.push(el)
let type_data = getTypeOfData(curtain)
if (type_data === 'object'){
curtain.push(el)
} else {
curtain = el
}
}
i++
})