Merge pull request #4100 from devansh-webkul/add_to_cart_text_issue
Fixed add to cart button is not coming completely on compare page #4086
This commit is contained in:
commit
6fbbbc641c
|
|
@ -3,21 +3,10 @@
|
|||
$comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily();
|
||||
|
||||
$locale = request()->get('locale') ?: app()->getLocale();
|
||||
|
||||
|
||||
$attributeOptionTranslations = DB::table('attribute_option_translations')->where('locale', $locale)->get()->toJson();
|
||||
@endphp
|
||||
|
||||
@push('css')
|
||||
<style>
|
||||
.btn-add-to-cart {
|
||||
max-width: 130px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/x-template" id="compare-product-template">
|
||||
<section class="cart-details row no-margin col-12">
|
||||
|
|
|
|||
Loading…
Reference in New Issue