Alignment Fixed

This commit is contained in:
devansh bawari 2021-02-08 19:38:57 +05:30
parent 5f959d459d
commit e0852ec285
4 changed files with 27 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/shop.js": "/js/shop.js?id=83c93b077da401f7b709",
"/css/shop.css": "/css/shop.css?id=a56f01f87ef12f51a8c1"
"/css/shop.css": "/css/shop.css?id=f6ad8e344c73115f780a"
}

View File

@ -468,6 +468,28 @@ input {
}
}
.default-wrap {
display: inline-flex;
justify-content: flex-start;
align-items: center;
height: 40px;
.addtocart {
margin-right: 10px;
text-transform: uppercase;
text-align: left;
box-shadow: 1px 1px 0px $shadow-color;
}
.add-to-wishlist {
margin-top: 5px;
background: transparent;
border: 0;
cursor: pointer;
padding: 0;
}
}
.sticker {
border-bottom-right-radius: 15px;
position: absolute;

View File

@ -1,10 +1,12 @@
@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
@php
$showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false;
$showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false;
@endphp
<div class="cart-wish-wrap">
<div class="{{ $toolbarHelper->isModeActive('grid') ? 'cart-wish-wrap' : 'default-wrap' }}">
<form action="{{ route('cart.add', $product->product_id) }}" method="POST">
@csrf
<input type="hidden" name="product_id" value="{{ $product->product_id }}">