Commit fc9cda1f authored by Killian Kemps's avatar Killian Kemps
Browse files

Fix horizontal scroll when opening message panel

parent dc5c2ce5
......@@ -83,7 +83,7 @@ MainSidebar.prototype.openMessageEdition = function(openForce){
this.buttonOpenMessageEdition.className = "sidebar-button-active";
this.messageEditionPanel.style.width = width + 'px';
document.getElementById('tweets-columns-list').style.left = width + 'px';
document.getElementById('tweets-columns-list').style.width = 'calc(100% - '+ Math.ceil(width-71) +'px)';
document.getElementById('tweets-columns-list').style.width = 'calc(100% - '+ Math.ceil(width+71) +'px)';
}
else{
this.messageEditionPanel.className = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment