Commit 4934d8c2 by wd

修改顶部样式高度自适应

parent c6aa3493
...@@ -30,6 +30,8 @@ endif; ...@@ -30,6 +30,8 @@ endif;
height: 60px; height: 60px;
background-image: url("<?= $block->getImgUrl($barData['background_img']) ?>"); background-image: url("<?= $block->getImgUrl($barData['background_img']) ?>");
line-height: 60px; line-height: 60px;
background-size: 100% 100%!important;
background-repeat: no-repeat;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
...@@ -38,6 +40,8 @@ endif; ...@@ -38,6 +40,8 @@ endif;
width: 100%; width: 100%;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
background-size: 100% 100%!important;
background-repeat: no-repeat;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment