Commit de87912f8c9634ba2185da7d29f8b41b64718409

Authored by Виталий
1 parent dd7a0f82

-collection

frontend/views/catalog/product.php
@@ -178,7 +178,7 @@ @@ -178,7 +178,7 @@
178 <tr> 178 <tr>
179 <?php foreach($product->events as $event):?> 179 <?php foreach($product->events as $event):?>
180 <?php if(!empty($event->end_at) && $event->isActive()):?> 180 <?php if(!empty($event->end_at) && $event->isActive()):?>
181 - <div class="event_block"> 181 + <div class="event_block new_ev_bl">
182 182
183 <div class="event_title"> <?= Html::a('Акция!!! '.$event->name,Url::to(['event/show','alias'=>$event->alias]))?></div> 183 <div class="event_title"> <?= Html::a('Акция!!! '.$event->name,Url::to(['event/show','alias'=>$event->alias]))?></div>
184 <div class="event_time">До конца осталось:</div> 184 <div class="event_time">До конца осталось:</div>
frontend/web/css/css_header.css
@@ -27151,6 +27151,7 @@ ul.product-special li.promo div { @@ -27151,6 +27151,7 @@ ul.product-special li.promo div {
27151 .new_collection .owl-theme .owl-controls { 27151 .new_collection .owl-theme .owl-controls {
27152 margin-top: 0; 27152 margin-top: 0;
27153 } 27153 }
  27154 +.event_block.new_ev_bl {min-height:180px;}
27154 @media(max-width: 1200px){ 27155 @media(max-width: 1200px){
27155 .collection .catalog_product_list.view_table.new_collection .catalog_item { 27156 .collection .catalog_product_list.view_table.new_collection .catalog_item {
27156 width: 50%; 27157 width: 50%;