forked from extern/egroupware
Fix (remove) right margin on sidebox calendar
This commit is contained in:
parent
40779b6dbf
commit
7b2902f0c2
@ -3178,8 +3178,7 @@ app.classes.calendar = AppJS.extend(
|
||||
|
||||
// Dynamic resize of sidebox calendar to fill sidebox
|
||||
var preferred_width = $j('#calendar-sidebox_date .ui-datepicker-inline').outerWidth();
|
||||
var font_ratio = parseFloat($j(this.sidebox_et2.getDOMNode()).css('font-size')) / parseFloat($j('#calendar-sidebox_date .ui-datepicker-inline').css('font-size'));
|
||||
|
||||
var font_ratio = 12 / parseFloat($j('#calendar-sidebox_date .ui-datepicker-inline').css('font-size'));
|
||||
$j(window).on('resize.calendar'+date.dom_id, function() {
|
||||
var percent = 1+(($j(date_widget.getDOMNode()).width() - preferred_width) / preferred_width);
|
||||
percent *= font_ratio;
|
||||
|
@ -16,6 +16,9 @@
|
||||
/**
|
||||
* Sidebox
|
||||
*/
|
||||
#calendar-et2_target {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-sidebox_owner {
|
||||
width: 90%;
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
* @package calendar
|
||||
* @version $Id$
|
||||
*/
|
||||
/* $Id: app.css 54853 2016-01-26 22:17:51Z nathangray $ */
|
||||
/* $Id: app.css 54875 2016-01-28 21:35:22Z nathangray $ */
|
||||
/*Media print classes*/
|
||||
@media print {
|
||||
.th td,
|
||||
@ -29,6 +29,9 @@
|
||||
/**
|
||||
* Sidebox
|
||||
*/
|
||||
#calendar-et2_target {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-sidebox_owner {
|
||||
width: 90%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user