Force the sidebox calendar next/ previous buttons to line up vertically with go / today buttons.

This commit is contained in:
Nathan Gray 2016-02-17 00:49:43 +00:00
parent 6ccc3e5713
commit 5d2bd454bb

View File

@ -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),
'top': go_button.css('top')
});
buttons.position({my: 'center', at: 'center', of: go_button})
.css('left', '');
}
} catch (e){
// Resize didn't work