|
@@ -8,6 +8,8 @@
|
|
|
$('.sec-02 .slide-item').css('height', `${height}px`);
|
|
|
let topHeight = (window.screen.width * 30) / 131;
|
|
|
console.log(topHeight);
|
|
|
+ $('.sec-00 .slide-item').css('height', `${topHeight}px`);
|
|
|
+ $('.sec-00 .container-fluid').css('height', `${topHeight}px`);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -16,6 +18,8 @@ window.addEventListener('resize', reportWindowSize);
|
|
|
function reportWindowSize() {
|
|
|
if(screen.width > 480) {
|
|
|
$('.sec-02 .slide-item').css('height', `130vh`);
|
|
|
+ $('.sec-00 .slide-item').css('height', `200px`);
|
|
|
+ $('.sec-00 .container-fluid').css('height', `200px`);
|
|
|
}
|
|
|
}
|
|
|
|