mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:39:45 +00:00
квадратные картинки
This commit is contained in:
1 parent
7d2757defa
commit
d859b62fde
1 file changed
+9
-1
@@ -154,10 +154,18 @@ $swiper-button-arrow-size: 20px;
|
|||||||
|
|
||||||
.swiper {
|
.swiper {
|
||||||
padding-top: 4em;
|
padding-top: 4em;
|
||||||
|
.swiper-wrapper .swiper-slide {
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
.swiper-wrapper .swiper-slide .slide-image {
|
.slide-image {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.swiper-button-prev,
|
.swiper-button-prev,
|
||||||
.swiper-button-next {
|
.swiper-button-next {
|
||||||
|
|||||||
Reference in new issue
Block a user