This commit is contained in:
@@ -698,12 +698,12 @@
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
/* 调整 banner 高度 - 进一步缩小 */
|
||||
/* 调整 banner 高度 - 移动端优化 */
|
||||
.banner-cont .swiper-slide {
|
||||
height: 200px;
|
||||
/* Reduced from 240px to 200px */
|
||||
padding-top: 56px;
|
||||
/* Compensate for sticky header overlap if needed, or if under header */
|
||||
height: 200px !important;
|
||||
/* 强制设置高度 */
|
||||
padding-top: 0 !important;
|
||||
/* 移除顶部内边距,让内容居中 */
|
||||
margin-top: 0;
|
||||
|
||||
/* Mobile Background Optimization */
|
||||
@@ -819,6 +819,15 @@
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* 移动端调整 banner-s 位置,避免遮挡 */
|
||||
@media (max-width: 768px) {
|
||||
.banner .banner-s {
|
||||
margin-top: 0 !important;
|
||||
/* 移除负边距 */
|
||||
padding-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.banner .banner-s .banner-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user