Skip to content

Commit

Permalink
Fix product attribute image square tooltip (#234)
Browse files Browse the repository at this point in the history
Co-authored-by: Lurvy <lurvy@outlook.com>
  • Loading branch information
Lurvy and Lurvy committed Jan 31, 2022
1 parent b70b71c commit 98ca005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Web/Grand.Web/Views/Product/_ProductAttributes.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
</template>
<template v-else>
<input :id="'product_attribute_' + attribute.Id + '_' + attributeValue.Id" type="radio" :name="'product_attribute_' + attribute.Id" :value="attributeValue.Id" :checked="attributeValue.IsPreSelected" :data-disable="attributeValue.Id" @@change="standardProductAttributes.attrchange" />
<span class="color-container"> <span class="color" :style="'background: url(' + attributeValue.ImageSquaresPictureModel.ImageUrl + ') 50% 50% no-repeat;'"></span> </span>
<span :id="'imgSqr_' + attributeValue.Id" class="color-container"> <span class="color" :style="'background: url(' + attributeValue.ImageSquaresPictureModel.ImageUrl + ') 50% 50% no-repeat;'"></span> </span>
<b-tooltip :target="'imgSqr_' + attributeValue.Id" placement="bottom">
<div class="image-square-tooltip">
<img :src="attributeValue.ImageSquaresPictureModel.FullSizeImageUrl" :alt="attributeValue.Name + ' [' + attributeValue.PriceAdjustment + ']'" />
Expand Down

0 comments on commit 98ca005

Please sign in to comment.