This commit is contained in:
rulingcom 2022-12-09 16:57:48 +08:00
parent 51ba300b4d
commit f7602493a9
2 changed files with 2 additions and 6 deletions

View File

@ -491,8 +491,8 @@
$(window).resize(function() {
var navFixed = $('.kenjohn.navFixed');
window.top_barrier_height = (navFixed.length ? navFixed.height() : 0) + $('#orbit-bar').height();
fix_first_element();
if ($(window).outerWidth() < 769) {
fix_first_element(true);
if (resizeTimer) clearTimeout(resizeTimer);
$('.outdropdowns').before($('.header-nav'));
resizeTimer = setTimeout(function() {
@ -503,8 +503,7 @@
$('.mobile-menu').append($('.modules-menu'));
$('.navbar-toggle').bind(orbit.ClickMenuHandler());
}
},500 )} else {
fix_first_element();
},500 )} else {
resizeTimer = setTimeout(function(){
if( $('.mobile-menu .modules-menu').length > 0 ) {
$('.navbar-header').after($('.modules-menu'));

View File

@ -507,9 +507,6 @@ body{
overflow: visible!important;
}
//內頁
.inner-page{
padding: 50px 0;
}
.internal-page{
background-color: #fff;
.kenjohn {