mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-02 10:05:26 +00:00
Bubble box of event should not overlap event cell
This commit is contained in:
@@ -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