|
|
|
@ -23,10 +23,12 @@ $(document).ready(function () {
|
|
|
|
|
|
|
|
|
|
function fixHeaderPadding() {
|
|
|
|
|
var env = utils.findBootstrapEnvironment();
|
|
|
|
|
if (env === 'sm' || env === 'xs' || env === 'md') {
|
|
|
|
|
$('#panel').css('padding-top', $('#header-menu').outerHeight(true));
|
|
|
|
|
} else {
|
|
|
|
|
$('#panel').css('padding-top', $('#header-menu').outerHeight(true) - 70);
|
|
|
|
|
if(!$('#header-menu').hasClass('hidden')){
|
|
|
|
|
if (env === 'sm' || env === 'xs' || env === 'md') {
|
|
|
|
|
$('#panel').css('padding-top', $('#header-menu').outerHeight(true));
|
|
|
|
|
} else {
|
|
|
|
|
$('#panel').css('padding-top', $('#header-menu').outerHeight(true) - 70);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|