Commit fab58f4a924fa42afba913916efee5c852c16494

Authored by Виталий
1 parent 25366bbd

Веталь

frontend/views/basket/ajax_items.php
@@ -9,7 +9,7 @@ use yii\helpers\Html; @@ -9,7 +9,7 @@ use yii\helpers\Html;
9 <div class="basket_item"> 9 <div class="basket_item">
10 <?php echo $form->field($item,'['.$i.']id')->hiddenInput()->label(false); ?> 10 <?php echo $form->field($item,'['.$i.']id')->hiddenInput()->label(false); ?>
11 <div style="display: table-cell;vertical-align: middle;"><a href="#" data-id="<?=$item->id?>" class="delete_button" style="margin-right:20px;"></a></div> 11 <div style="display: table-cell;vertical-align: middle;"><a href="#" data-id="<?=$item->id?>" class="delete_button" style="margin-right:20px;"></a></div>
12 - <div style="width:100px;height:100px;display: table-cell;vertical-align: middle; border:1px solid #d2d2d2;text-align:center;margin-left:10px;margin-right:10px;"> 12 + <div class="img_ajax_basket" style="width:100px;height:100px;display: table-cell;vertical-align: middle; border:1px solid #d2d2d2;text-align:center;margin-left:10px;margin-right:10px;">
13 <?= \common\components\artboximage\ArtboxImageHelper::getImage($item->imageUrl, 'product_basket')?> 13 <?= \common\components\artboximage\ArtboxImageHelper::getImage($item->imageUrl, 'product_basket')?>
14 </div> 14 </div>
15 <div style="display: table-cell;vertical-align: middle; font-size:15px;width:210px; font-weight:normal;padding-left:15px;"> 15 <div style="display: table-cell;vertical-align: middle; font-size:15px;width:210px; font-weight:normal;padding-left:15px;">
frontend/web/css/style.css
@@ -1475,4 +1475,11 @@ input.custom-radio + label:hover { @@ -1475,4 +1475,11 @@ input.custom-radio + label:hover {
1475 content: ''; 1475 content: '';
1476 bottom: -27px; 1476 bottom: -27px;
1477 left: 0; 1477 left: 0;
1478 -}  
1479 \ No newline at end of file 1478 \ No newline at end of file
  1479 +}
  1480 +.img_ajax_basket img {
  1481 + margin-right: 0!important;
  1482 + max-width: 90px;
  1483 + max-height: 90px;
  1484 + vertical-align: middle;
  1485 +}
  1486 +.jcarousel-skin-tango>li{display: none;}
1480 \ No newline at end of file 1487 \ No newline at end of file