mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
Force the sidebox calendar next/ previous buttons to line up vertically with go / today buttons.
This commit is contained in:
parent
6ccc3e5713
commit
5d2bd454bb
@ -3236,6 +3236,8 @@ app.classes.calendar = AppJS.extend(
|
|||||||
'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(true)/2),
|
||||||
'top': go_button.css('top')
|
'top': go_button.css('top')
|
||||||
});
|
});
|
||||||
|
buttons.position({my: 'center', at: 'center', of: go_button})
|
||||||
|
.css('left', '');
|
||||||
}
|
}
|
||||||
} catch (e){
|
} catch (e){
|
||||||
// Resize didn't work
|
// Resize didn't work
|
||||||
|
Loading…
Reference in New Issue
Block a user