Skip to content

Commit

Permalink
updated body to use padding-top when topbar is fixed to top so that i…
Browse files Browse the repository at this point in the history
…t doesn't move down position relative things on the page
  • Loading branch information
zurbchris committed Oct 26, 2012
1 parent 42311ce commit 55745c7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@
}

if (settings.$topbar.parent().hasClass('fixed')) {
$('body').css('margin-top',settings.$topbar.outerHeight())
$('body').css('padding-top',settings.$topbar.outerHeight())
}

$('.top-bar .toggle-topbar').die('click.fndtn').live('click.fndtn', function (e) {
Expand Down

0 comments on commit 55745c7

Please sign in to comment.