diff --git a/layouts/404.html b/layouts/404.html index 73399e2e90..4e6e10377f 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -22,8 +22,8 @@ {{- partial "custom-header.html" . }} - -
+ +
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 16cc460d9f..ab458f69af 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -24,7 +24,7 @@ {{- partial "stylesheet.html" . }} {{- partial "custom-header.html" . }} - +
diff --git a/static/css/theme.css b/static/css/theme.css index 5b892ccaad..ab9bdc4e89 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -99,7 +99,7 @@ th { } .default-animation{ - transition: all 0.5s ease; + transition: all 0.35s ease; } #sidebar { diff --git a/static/js/theme.js b/static/js/theme.js index 3aa4f4bac0..65d6ee48fb 100644 --- a/static/js/theme.js +++ b/static/js/theme.js @@ -1,6 +1,9 @@ var isIE = /*@cc_on!@*/false || !!document.documentMode; -if( !isIE ){ +if( isIE ){ // we don't support sidebar flyout in IE + document.querySelector( 'body' ).classList.remove( 'mobile-support' ); +} +else{ document.querySelector( 'body' ).classList.add( 'mobile-support' ); } var touchsupport = ('ontouchstart' in window) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0)