mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
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', '');
|
.css('left', '');
|
||||||
today.position({my: 'top', at: 'top', of: buttons});
|
today.position({my: 'top', at: 'top', of: buttons});
|
||||||
today.css({
|
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)
|
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%;
|
text-indent: 140%;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
margin-left: 7px;
|
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
@ -1207,7 +1207,6 @@ div#calendar-container {
|
|||||||
text-indent: 140%;
|
text-indent: 140%;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
margin-left: 7px;
|
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
&:hover {
|
&:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user