mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fix minor styling isue where focus chat box would try to show up even if chat was stuck to screen
This commit is contained in:
parent
7a726f86ec
commit
47ee0ec383
1 changed files with 2 additions and 2 deletions
|
@ -74,9 +74,9 @@ var chat = (function()
|
||||||
console.log(isStuck);
|
console.log(isStuck);
|
||||||
chat.show();
|
chat.show();
|
||||||
if(!isStuck) { // Stick it to
|
if(!isStuck) { // Stick it to
|
||||||
$('#chatbox').css({"right":"0px", "top":"36px", "border-radius":"0px", "height":"auto", "border-right":"none", "border-left":"1px solid #ccc", "border-top":"none", "background-color":"#f1f1f1"});
|
$('#chatbox').css({"right":"0px", "top":"36px", "border-radius":"0px", "height":"auto", "border-right":"none", "border-left":"1px solid #ccc", "border-top":"none", "background-color":"#f1f1f1", "width":"185px"});
|
||||||
$('#chattext').css({"top":"0px"});
|
$('#chattext').css({"top":"0px"});
|
||||||
$('#editorcontainer').css({"right":"170px", "width":"auto"});
|
$('#editorcontainer').css({"right":"192px", "width":"auto"});
|
||||||
isStuck = true;
|
isStuck = true;
|
||||||
} else { // Unstick it
|
} else { // Unstick it
|
||||||
$('#chatbox').css({"right":"20px", "top":"auto", "border-top-left-radius":"5px", "border-top-right-radius":"5px", "border-right":"1px solid #999", "height":"200px", "border-top":"1px solid #999", "background-color":"#f7f7f7"});
|
$('#chatbox').css({"right":"20px", "top":"auto", "border-top-left-radius":"5px", "border-top-right-radius":"5px", "border-right":"1px solid #999", "height":"200px", "border-top":"1px solid #999", "background-color":"#f7f7f7"});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue