Skip to content

Commit

Permalink
Merge pull request #13 from Niiph/Fix
Browse files Browse the repository at this point in the history
Fix styles
  • Loading branch information
Niiph committed Apr 3, 2024
2 parents 6ada099 + 714ea1e commit e5f131b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/common/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
margin-bottom: 5px;
height: 24px;
display: block;
padding: 2px 8px 2px 8px;
padding: 3px 8px 3px 8px;
float: left;
clear: both;
text-transform: uppercase;
Expand Down
4 changes: 2 additions & 2 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Finally, add template
{% include '@NiiphSyliusProductLabelPlugin/Shop/Product/_labels.html.twig' %}
```
in proper place (originally at `SyliusShopBundle/Product/_box.html.twig`):
```twig
```diff
{% import "@SyliusShop/Common/Macro/money.html.twig" as money %}

{{ sonata_block_render_event('sylius.shop.product.index.before_box', {'product': product}) }}
Expand All @@ -145,7 +145,7 @@ in proper place (originally at `SyliusShopBundle/Product/_box.html.twig`):
</div>
</div>
</div>
{% include '@NiiphSyliusProductLabelPlugin/Shop/Product/_labels.html.twig' %}
+ {% include '@NiiphSyliusProductLabelPlugin/Shop/Product/_labels.html.twig' %}
{% include '@SyliusShop/Product/_mainImage.html.twig' with {'product': product} %}
</a>
<div class="content">
Expand Down

0 comments on commit e5f131b

Please sign in to comment.