swiper images height
This commit is contained in:
@@ -61,6 +61,10 @@ $bgColor: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
width: 100vw;
|
||||
@@ -319,7 +323,6 @@ article {
|
||||
}
|
||||
}
|
||||
.swiper {
|
||||
max-height: 40vh;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease-out;
|
||||
@@ -328,10 +331,17 @@ article {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 0 7vw;
|
||||
display: flex;
|
||||
height: auto;
|
||||
align-items: center;
|
||||
img {
|
||||
box-sizing: content-box;
|
||||
width: 100%;
|
||||
}
|
||||
video {
|
||||
box-sizing: content-box;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.swiper-button-prev, .swiper-button-next {
|
||||
|
Reference in New Issue
Block a user