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:
Jitendra Singh 2020-10-16 21:57:31 +05:30 committed by GitHub
commit 6fbbbc641c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 12 deletions

View File

@ -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">