Skip to content

Commit

Permalink
Merge pull request #2 from magmodules/release/1.0.2
Browse files Browse the repository at this point in the history
Fixed style rendering issue
  • Loading branch information
Marvin-Magmodules authored Nov 15, 2024
2 parents 828e5aa + 348b92c commit 94b3b08
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/view/frontend/layout/hyva_reviewreminder_review_form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
</action>
</referenceBlock>

<referenceContainer name="content">
<block name="magmodules.review.form"
class="Magento\Framework\View\Element\Template"
template="Magmodules_HyvaReviewReminder::review/form.phtml">
<arguments>
<argument name="view_model" xsi:type="object">Magmodules\ReviewReminder\ViewModel\Review\Form</argument>
</arguments>
</block>
</referenceContainer>

<referenceBlock name="magmodules.review.form">
<block name="loading" template="Hyva_Theme::ui/loading.phtml"/>
</referenceBlock>
Expand Down
7 changes: 7 additions & 0 deletions src/view/frontend/tailwind/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
purge: {
content: [
'../templates/**/*.phtml',
]
}
}
5 changes: 3 additions & 2 deletions src/view/frontend/templates/review/form.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ $viewModel = $block->getViewModel();
</div>
</div>

<div id="formProducts" class="step-wrapper grid gap-5 mb-6 pb-8 border-b border-stone-300"
style="grid-template-columns: repeat(auto-fit,minmax(200px,1fr))">
<div id="formProducts"
class="step-wrapper grid gap-5 mb-6 pb-8 border-b border-stone-300
sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4">

<?php foreach ($viewModel->getItems() as $index => $item): ?>
<?php
Expand Down

0 comments on commit 94b3b08

Please sign in to comment.