mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 10:05:27 +08:00
Merge pull request #3052 from ONLYOFFICE/fix/bugfix
Fix loader in rtl mode
This commit is contained in:
@ -381,6 +381,9 @@
|
||||
&.invisible {
|
||||
margin-left: 0;
|
||||
border: none;
|
||||
.rtl & {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.long {
|
||||
|
||||
@ -333,7 +333,10 @@
|
||||
document.querySelectorAll('.compact').forEach(function(item){
|
||||
item.style.display = 'inline-block';
|
||||
});
|
||||
document.querySelector('.fat').style.left = '655px';
|
||||
if (document.body.classList.contains('rtl'))
|
||||
document.querySelector('.fat').style.right = '592px';
|
||||
else
|
||||
document.querySelector('.fat').style.left = '592px';
|
||||
}
|
||||
|
||||
visible && (document.querySelector('.brendpanel').style.display = 'block');
|
||||
|
||||
@ -296,7 +296,10 @@
|
||||
document.querySelectorAll('.compact').forEach(function(item){
|
||||
item.style.display = 'inline-block';
|
||||
});
|
||||
document.querySelector('.fat').style.left = '655px';
|
||||
if (document.body.classList.contains('rtl'))
|
||||
document.querySelector('.fat').style.right = '592px';
|
||||
else
|
||||
document.querySelector('.fat').style.left = '592px';
|
||||
}
|
||||
|
||||
visible && (document.querySelector('.brendpanel').style.display = 'block');
|
||||
|
||||
@ -330,7 +330,10 @@
|
||||
document.querySelectorAll('.compact').forEach(function(item){
|
||||
item.style.display = 'inline-block';
|
||||
});
|
||||
document.querySelector('.fat').style.left = '868px';
|
||||
if (document.body.classList.contains('rtl'))
|
||||
document.querySelector('.fat').style.right = '865px';
|
||||
else
|
||||
document.querySelector('.fat').style.left = '865px';
|
||||
}
|
||||
|
||||
visible && (document.querySelector('.brendpanel').style.display = 'block');
|
||||
|
||||
@ -323,7 +323,10 @@
|
||||
document.querySelectorAll('.compact').forEach(function(item){
|
||||
item.style.display = 'inline-block';
|
||||
});
|
||||
document.querySelector('.fat').style.left = '868px';
|
||||
if (document.body.classList.contains('rtl'))
|
||||
document.querySelector('.fat').style.right = '865px';
|
||||
else
|
||||
document.querySelector('.fat').style.left = '865px';
|
||||
}
|
||||
|
||||
visible && (document.querySelector('.brendpanel').style.display = 'block');
|
||||
|
||||
@ -353,7 +353,10 @@
|
||||
document.querySelectorAll('.compact').forEach(function(item){
|
||||
item.style.display = 'inline-block';
|
||||
});
|
||||
document.querySelector('.fat').style.left = '923px';
|
||||
if (document.body.classList.contains('rtl'))
|
||||
document.querySelector('.fat').style.right = '923px';
|
||||
else
|
||||
document.querySelector('.fat').style.left = '923px';
|
||||
}
|
||||
|
||||
visible && (document.querySelector('.brendpanel').style.display = 'block');
|
||||
|
||||
@ -339,7 +339,10 @@
|
||||
document.querySelectorAll('.compact').forEach(function(item){
|
||||
item.style.display = 'inline-block';
|
||||
});
|
||||
document.querySelector('.fat').style.left = '923px';
|
||||
if (document.body.classList.contains('rtl'))
|
||||
document.querySelector('.fat').style.right = '923px';
|
||||
else
|
||||
document.querySelector('.fat').style.left = '923px';
|
||||
}
|
||||
|
||||
visible && (document.querySelector('.brendpanel').style.display = 'block');
|
||||
|
||||
Reference in New Issue
Block a user