mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
better css
This commit is contained in:
parent
ebff7d128b
commit
4af46921e1
2 changed files with 14 additions and 2 deletions
|
@ -186,9 +186,20 @@ var padeditbar = (function()
|
|||
$('#editbar').css("height", editbarHeight);
|
||||
|
||||
$('#editorcontainer').css("top", containerTop);
|
||||
|
||||
// If sticky chat is enabled..
|
||||
if($('#options-stickychat').is(":checked")){
|
||||
$('#chatbox').css("top", $('#editorcontainer').offset().top + "px");
|
||||
};
|
||||
|
||||
// If chat and Users is enabled..
|
||||
if($('#options-chatandusers').is(":checked")){
|
||||
$('#users').css("top", $('#editorcontainer').offset().top + "px");
|
||||
|
||||
// We also need to move the chatbox lower..
|
||||
$('#chatbox').css("top", 10 + $('#users').height() + $('#editorcontainer').offset().top + "px");
|
||||
}
|
||||
|
||||
},
|
||||
registerDropdownCommand: function (cmd, dropdown) {
|
||||
dropdown = dropdown || cmd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue