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