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

View File

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