File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
app/code/Magento/Review/view/frontend/templates/helper Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,8 @@ $urlForm = $block->getReviewsUrl() . '#review-form';
19
19
<div class="rating-result"
20
20
id="rating-result_<?= /* @noEscape */ $ block ->getProduct ()->getId () ?> "
21
21
title="<?= $ block ->escapeHtmlAttr ($ rating ) ?> %">
22
- <span><span><?= $ block ->escapeHtml ($ rating ) ?> %</span></span>
22
+ <span style="width: <?= $ block -> escapeHtmlAttr ( $ rating ) ?> %" ><span><?= $ block ->escapeHtml ($ rating ) ?> %</span></span>
23
23
</div>
24
- <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag (
25
- 'width: ' . $ block ->escapeHtmlAttr ($ rating ) . '% ' ,
26
- '#rating-result_ ' . $ block ->getProduct ()->getId () . ' span '
27
- ) ?>
28
24
</div>
29
25
<?php endif ;?>
30
26
<div class="reviews-actions">
You can’t perform that action at this time.
0 commit comments