сделал адаптивность подписок
This commit is contained in:
@@ -267,4 +267,67 @@
|
||||
transition-duration: 0;
|
||||
}
|
||||
/* cabinet */
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 720px) {
|
||||
.subscription__item{
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.subscription__item > p:first-child{
|
||||
font-size: 16px;
|
||||
color: var(--text-6);
|
||||
}
|
||||
.subscription__item > p:last-child{
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.subscription__toggle-title {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.subscription__toggle-product{
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.subscription__toggle-product > *:not(:first-child){
|
||||
padding-top: 0;
|
||||
}
|
||||
.subscription__toggle-product .cabinet-card-order-detail-main-product__img{
|
||||
width: 73px;
|
||||
height: 66px;
|
||||
}
|
||||
.subscription__toggle-product .cabinet-card-order-detail-main-product-description__what{
|
||||
font-size: 12px;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.subscription__toggle-product .cabinet-card-order-detail-main-product-description__with-what{
|
||||
margin-top: 8px;
|
||||
|
||||
font-size: 12px;
|
||||
}
|
||||
.subscription__toggle-product .cabinet-card-order-detail-main-product__description {
|
||||
width: calc(100% - 73px);
|
||||
}
|
||||
.subscription__toggle-product .cabinet-card-order-detail-main-product__content{
|
||||
position: static;
|
||||
margin-top: -10px;
|
||||
margin-left: auto;
|
||||
width: calc(100% - 73px);
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.subscription__toggle-product .cabinet-card-order-detail-main-product__count{
|
||||
position: static;
|
||||
font-size: 12px;
|
||||
}
|
||||
.subscription__toggle-product .cabinet-card-order-detail-main-product__price{
|
||||
position: static;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user