Commit 34546db4e1957bcb28f5b8b19e30cc0d1efa6485

Authored by Eugeny Galkovskiy
1 parent 44ec55ce

123

Showing 1 changed file with 14 additions and 2 deletions   Show diff stats
frontend/web/css/style.css
@@ -2379,20 +2379,32 @@ p.right{text-align: right;} @@ -2379,20 +2379,32 @@ p.right{text-align: right;}
2379 } 2379 }
2380 } 2380 }
2381 @media (max-width: 729px) { 2381 @media (max-width: 729px) {
  2382 + .blog_block a img{
  2383 + max-height: 175px;
  2384 + width: 100%;
  2385 + max-width: 308px;
  2386 + }
2382 .main-box1 a img{ 2387 .main-box1 a img{
2383 max-width:305px; 2388 max-width:305px;
2384 } 2389 }
2385 .main-box1{ 2390 .main-box1{
2386 - padding-bottom: 30px; 2391 + padding-bottom: 10px;
2387 } 2392 }
2388 .main-box2{ 2393 .main-box2{
2389 padding-bottom: 30px; 2394 padding-bottom: 30px;
  2395 + padding-top: 15px;
2390 } 2396 }
2391 .post_cont{ 2397 .post_cont{
2392 justify-content: center; 2398 justify-content: center;
2393 overflow: hidden; 2399 overflow: hidden;
2394 max-width: 308px; 2400 max-width: 308px;
2395 margin: 0 auto;} 2401 margin: 0 auto;}
  2402 + .post_cont .picture{
  2403 + max-height: 175px;
  2404 + display: flex;
  2405 + align-items: center;
  2406 + overflow: hidden;
  2407 + }
2396 .post_cont .text{ 2408 .post_cont .text{
2397 width: 100%; 2409 width: 100%;
2398 max-width: 308px; 2410 max-width: 308px;
@@ -2407,7 +2419,7 @@ p.right{text-align: right;} @@ -2407,7 +2419,7 @@ p.right{text-align: right;}
2407 } 2419 }
2408 .main-box4 .picture{ 2420 .main-box4 .picture{
2409 width: 100%; 2421 width: 100%;
2410 - padding-top: 45%; 2422 + padding-top: 48.21%;
2411 max-width: 305px; 2423 max-width: 305px;
2412 max-height: 175px!important; 2424 max-height: 175px!important;
2413 } 2425 }