сделал адаптивность reviews

This commit is contained in:
Kirill Pet
2024-12-19 02:05:24 +03:00
parent f801ab4569
commit 6ae52a7795
3 changed files with 69 additions and 15 deletions

View File

@@ -618,16 +618,25 @@
margin-left: 40px;
width: 100%;
}
.reviews-item-content-header__item{
margin-top: 16px;
width: 100%;
display: flex;
justify-content: space-between;
}
.reviews-item-content-header__item:first-child{
.reviews-item-content-header__item{
width: 100%;
/* display: flex; */
/* justify-content: space-between; */
}
.reviews-item-content-header__item:nth-child(2){
display: flex;
justify-content: end;
align-items: start;
}
.reviews-item-content-header__item .text-2{
margin-top: 16px;
}
.reviews-item-content-header__item .text-2:first-child{
margin-top: 0;
}
.reviews-item-content-header__pin{

View File

@@ -452,7 +452,7 @@ main{
}
/* how */
/* wrapper */
/* free */
@media only screen and (max-width: 992px) {
.free{
padding: 40px 16px 39px 16px;
@@ -479,6 +479,52 @@ main{
align-items: start;
}
}
/* wrapper */
/* reviews */
@media only screen and (max-width: 992px) {
.reviews__item{
padding-bottom: 71px;
flex-direction: column;
}
.reviews-item-content-header__img{
width: 80px;
height: 80px;
}
.reviews-item-content-header__block{
margin-left: 16px;
flex-direction: column;
}
.reviews-item-content-header__item .text-2{
margin-top: 12px;
}
.reviews-item-content-header__item:nth-child(2){
margin-top: 12px;
justify-content: start;
}
.reviews-item-content__text{
margin-top: 24px;
}
.reviews-item__img{
margin-top: 24px;
margin-left: 0;
height: 300px;
width: 100%;
}
.reviews .swiper-pagination{
bottom: 87px;
padding-right: 0px;
text-align: center;
}
.reviews .swiper-pagination-bullet{
width: 53px;
}
}
/* reviews */
@media only screen and (max-width: 992px) {}