Fixed swiper style
This commit is contained in:
parent
434f80ea1b
commit
73aa52d748
|
@ -412,6 +412,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
swiper-slide & {
|
swiper-slide & {
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
@include media-breakpoint-down(lg) {
|
@include media-breakpoint-down(lg) {
|
||||||
aspect-ratio: 1/1;
|
aspect-ratio: 1/1;
|
||||||
}
|
}
|
||||||
|
@ -422,12 +424,8 @@
|
||||||
|
|
||||||
@include media-breakpoint-down(sm) {
|
@include media-breakpoint-down(sm) {
|
||||||
aspect-ratio: 1/1;
|
aspect-ratio: 1/1;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.swiper-slide {
|
.shoutCardContent {
|
||||||
.shoutCardContent {
|
|
||||||
@include media-breakpoint-down(md) {
|
|
||||||
padding-left: 10%;
|
padding-left: 10%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,9 +40,9 @@ export const ArticleCardSwiper = (props: Props) => {
|
||||||
thumbs-swiper={'.thumbSwiper'}
|
thumbs-swiper={'.thumbSwiper'}
|
||||||
observer={true}
|
observer={true}
|
||||||
onSlideChange={handleSlideChange}
|
onSlideChange={handleSlideChange}
|
||||||
space-between={26}
|
space-between={20}
|
||||||
breakpoints={{
|
breakpoints={{
|
||||||
576: { spaceBetween: 20, slidesPerView: 1 },
|
576: { spaceBetween: 20, slidesPerView: 1.5 },
|
||||||
992: { spaceBetween: 52, slidesPerView: 1.5 }
|
992: { spaceBetween: 52, slidesPerView: 1.5 }
|
||||||
}}
|
}}
|
||||||
loop={true}
|
loop={true}
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|
||||||
// max-width: 800px;
|
// max-width: 800px;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 24px 0;
|
padding: 24px 0;
|
||||||
|
@ -127,10 +126,9 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: calc(100% - 130px);
|
|
||||||
|
|
||||||
@media only screen and (max-width: 576px) {
|
@include media-breakpoint-up(sm) {
|
||||||
width: 100%;
|
//width: calc(100% - 130px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter {
|
.counter {
|
||||||
|
@ -173,7 +171,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 12.5%;
|
width: 10%;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user