0.0.264 upd previous_next_news widget

This commit is contained in:
2023-11-29 16:55:17 +03:00
parent f32e127148
commit 2c711ed370
3 changed files with 50 additions and 14 deletions

View File

@@ -376,7 +376,7 @@
margin: 0 0 120px 0;
/*justify-content: center;*/
}
.news_item {
.news_item, .news_item_static {
margin-bottom: 40px;
width: 49%;
}
@@ -1373,6 +1373,17 @@
float: none;
/*margin-left: 25px;*/
}
.previous_next_news{
flex-wrap: wrap;
}
.news_item, .news_item_static{
width: 490px;
margin: 0 auto 30px;
}
}
@media (max-width: 850px){
@@ -1607,6 +1618,14 @@
.phones_carrier{
display: block;
}
.previous_next_news>.news_item_static{
margin: unset;
margin-bottom: 40px;
}
.news_item, .news_item_static{
width: 100%;
}
.first-line-card-carrier{
text-align: center;
}
@@ -1637,13 +1656,7 @@
margin-bottom: unset;
}
.previous_next_news{
flex-wrap: wrap;
}
.previous_next_news>.news_item:nth-child(2){
margin: unset;
margin-bottom: 40px;
}
.splitter-from-to-country{
margin-left: 7%;
@@ -1658,9 +1671,7 @@
margin-top: 40px;
}
.news_item{
width: 100%;
}
.news_block_main{
justify-content: center;
}