Skip to content

Commit 5eb4071

Browse files
committed
OP-551: Adjust item list styling
1 parent f287214 commit 5eb4071

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

src/Resources/assets/shop/scss/pages/wishlist-details/_item.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838

3939
&-image {
4040
grid-area: image;
41-
width: 75%;
42-
height: 75%;
43-
44-
img {
45-
margin-bottom: 24px;
46-
}
4741
}
4842

4943
&-name {

src/Resources/views/WishlistDetails/index/content/form/sections/items/body/image.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% set product = hookable_metadata.context.product %}
22
{% set variant = hookable_metadata.context.variant %}
33

4-
<div class="bb-wishlist-item-image">
4+
<div class="bb-wishlist-item-image overflow-auto rounded-3">
55
{{ component('sylius_shop:main_image', {
66
product: variant.hasImages ? variant : product,
77
class: "w-100 h-100 object-fit-cover",

src/Resources/views/WishlistDetails/index/content/form/sections/items/body/name.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% set productUrl = path('sylius_shop_product_show', { slug: product.slug, _locale: product.translation.locale }) %}
33

44
<div class="bb-wishlist-item-name">
5-
<a href="{{ productUrl }}" {{ sylius_test_html_attribute('wishlist-item-name') }}>
5+
<a href="{{ productUrl }}" {{ sylius_test_html_attribute('wishlist-item-name') }} class="fw-normal link-reset">
66
{{ product.name }}
77
</a>
88
</div>

src/Resources/views/WishlistDetails/index/content/form/sections/items/body/price.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
{% set product = hookable_metadata.context.product %}
44
{% set variant = hookable_metadata.context.variant %}
55

6-
<div class="bb-wishlist-item-price">
6+
<div class="bb-wishlist-item-price text-black-50">
77
{% if not product.variants.empty() %}
8-
<b>
8+
<span class="fw-normal">
99
{{ money.calculatePrice(variant) }}
10-
</b>
10+
</span>
1111
{% endif %}
1212
</div>

0 commit comments

Comments
 (0)