forked from extern/egroupware
Calendar - fix side calendar's Today button positioning
This commit is contained in:
parent
0564e61c50
commit
9cbc941c8d
@ -3611,7 +3611,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
.css('left', '');
|
||||
today.position({my: 'top', at: 'top', of: buttons});
|
||||
today.css({
|
||||
'left': (buttons.first().offset().left + buttons.last().offset().left)/2 - Math.ceil(today.outerWidth(true)/2),
|
||||
'left': (buttons.first().offset().left + buttons.last().offset().left)/2 - Math.ceil(today.outerWidth()/2),
|
||||
});
|
||||
}
|
||||
if(auto_update)
|
||||
@ -3755,6 +3755,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
}
|
||||
}
|
||||
});
|
||||
window.setTimeout(calendar_resize,50);
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -2665,7 +2665,6 @@ div#calendar-container div.calendar table tbody tr.rowhilite td {
|
||||
text-indent: 140%;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
margin-left: 7px;
|
||||
background-size: contain;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
@ -1207,7 +1207,6 @@ div#calendar-container {
|
||||
text-indent: 140%;
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
margin-left: 7px;
|
||||
background-size: contain;
|
||||
background-color: transparent;
|
||||
&:hover {
|
||||
|
Loading…
Reference in New Issue
Block a user