Skip to content

Commit

Permalink
SAK-31224 - Breadcrumb display is wrong for subsites
Browse files Browse the repository at this point in the history
  • Loading branch information
SedueRey committed May 25, 2016
1 parent 4997abb commit 790b103
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ function toggleUserNav(event){

$PBJQ(".js-toggle-user-nav a#loginUser > .Mrphs-userNav__drop-btn", "#loginLinks").on("click", toggleUserNav);
$PBJQ(".js-toggle-user-nav .Mrphs-userNav__drop-btn", "#loginLinks").on("click", toggleUserNav);

$PBJQ(document).ready( function(){
if( $PBJQ('.Mrphs-hierarchy--parent-sites').length > 0 && $PBJQ(window).width() <= 800 ){
$PBJQ('#content').css( 'margin-top', ( parseInt( $PBJQ('#content').css('margin-top').replace('px', '') ) + $PBJQ('.Mrphs-hierarchy--parent-sites').outerHeight(true) ) + 'px' );
}
});

0 comments on commit 790b103

Please sign in to comment.