loader correct
This commit is contained in:
SDE
2023-11-25 17:14:17 +03:00
parent 4e2d453ff1
commit 0571de3dd0
2 changed files with 6 additions and 6 deletions

View File

@@ -412,8 +412,8 @@
height: 100px; height: 100px;
width: 100px; width: 100px;
position: absolute; position: absolute;
top: 38%; top: 35%;
left: 52%; left: 47%;
} }
.loader_chat_f_sw_chats.support.show{ .loader_chat_f_sw_chats.support.show{
@@ -421,8 +421,8 @@
height: 100px; height: 100px;
width: 100px; width: 100px;
position: absolute; position: absolute;
top: 50%; top: 38%;
left: 52%; left: 47%;
} }
.loader_chat_f_sw_chats{ .loader_chat_f_sw_chats{
@@ -2613,7 +2613,7 @@
text-align: -webkit-center; text-align: -webkit-center;
padding: 0; padding: 0;
overflow-y: auto; overflow-y: auto;
height: calc(100vh - 120px); height: calc(100vh - 95px);
max-height: 697px; max-height: 697px;
background: #F8F8F8; background: #F8F8F8;
} }

View File

@@ -23,7 +23,7 @@ function select_tab_profile (el,url,owner_type=null) {
confirm_url = `/routes/${url}/` confirm_url = `/routes/${url}/`
} }
if (window.location.href.includes("profile")){ if (window.location.href.includes("profile")){
document.querySelector(".info_profile").innerHTML = '<img src="/static/img/svg/loader.svg" style="height: 30px;position: absolute;top: 50%;left: 50%;"/>' document.querySelector(".info_profile").innerHTML = '<img src="/static/img/svg/loader.svg" style="height: 30px;position: absolute;top: 47%;left: 45%;"/>'
} }
$.ajax({ $.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() }, headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },