mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +00:00
Bubble box of event should not overlap event cell
This commit is contained in:
1 parent
7dad5ad84e
commit
249a1fcf14
2 files changed
+3
-3
No files matched your search
@@ -723,9 +723,9 @@ function onViewEventCallback(http) {
|
||||
top -= cell.up("DIV.day").scrollTop;
|
||||
}
|
||||
|
||||
left = cellPosition[0] + cellDimensions["width"] - parseInt(cellDimensions["width"]/3);
|
||||
left = cellPosition[0] + cellDimensions["width"] + 4;
|
||||
if (left + divDimensions["width"] > window.width()) {
|
||||
left = cellPosition[0] - divDimensions["width"] + 10;
|
||||
left = cellPosition[0] - divDimensions["width"];
|
||||
div.removeClassName("left");
|
||||
div.addClassName("right");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user