Commit 2f5a7a0c by wd

面包屑高度兼容

parent 608294a3
...@@ -44,6 +44,9 @@ ...@@ -44,6 +44,9 @@
$('.header ').css('margin-bottom',imgH); $('.header ').css('margin-bottom',imgH);
}else{ }else{
var headerH = $('.page-header').outerHeight(true); var headerH = $('.page-header').outerHeight(true);
if ($('.breadcrumbs').height()){
headerH -= $('.breadcrumbs').height();
}
$('.columns').css('margin-top',headerH); $('.columns').css('margin-top',headerH);
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment