diff --git a/less/header.less b/less/header.less index d825d6c..a525ed4 100644 --- a/less/header.less +++ b/less/header.less @@ -242,6 +242,10 @@ margin-left: -30px; } } + + @media (min-width: @screen-md-min) { + top: 0px !important; + } } .breadcrumb { diff --git a/lib/persona.js b/lib/persona.js index 1f3ff90..d499883 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -3,19 +3,15 @@ /*globals ajaxify, config, utils, app, socket, NProgress*/ $(document).ready(function() { - var env = utils.findBootstrapEnvironment(); - setupNProgress(); setupTaskbar(); setupEditedByIcon(); setupMobileMenu(); setupQuickReply(); - if (env === 'xs' || env ==='sm') { - $(".navbar-fixed-top").autoHidingNavbar({ - showOnBottom: false - }); - } + $(".navbar-fixed-top").autoHidingNavbar({ + showOnBottom: false + }); function setupNProgress() { $(window).on('action:ajaxify.start', function() {