fixed no comment text

This commit is contained in:
2026-03-11 20:57:33 +01:00
parent cedaf7b4d9
commit 61d2425632
2 changed files with 22 additions and 15 deletions

View File

@@ -5,7 +5,7 @@
margin-top: 50px; margin-top: 50px;
} }
.pexpo-core-comments-body { .pexpo-core-comments-body:has(> .pexpo-core-comment-groups-wrapper) {
margin: 0 auto; margin: 0 auto;
padding: 20px 0; padding: 20px 0;
max-width: 1500px; max-width: 1500px;
@@ -16,15 +16,15 @@
black 80px, black 80px,
black calc(100% - 80px), black calc(100% - 80px),
transparent transparent
); );
mask-image: linear-gradient( mask-image: linear-gradient(
to right, to right,
transparent, transparent,
black 80px, black 80px,
black calc(100% - 80px), black calc(100% - 80px),
transparent transparent
); );
&:hover .pexpo-core-comment-groups-wrapper { &:hover .pexpo-core-comment-groups-wrapper {
animation-play-state: paused; animation-play-state: paused;
@@ -139,6 +139,13 @@ mask-image: linear-gradient(
} }
} }
.pexpo-core-no-comments {
text-align: center;
font-size: 1.2rem;
color: #777;
margin: 50px 0;
}
@keyframes scrolling { @keyframes scrolling {
to { to {

View File

@@ -54,7 +54,7 @@
echo '</div>'; echo '</div>';
} else { } else {
?> ?>
<p class="pexpo-core-no-comments"><?php echo esc_html__('Még nincsenek hozzászólások.', 'partnerexpo-core'); ?></p> <p class="pexpo-core-no-comments"><?php echo esc_html__('Még nincsenek visszajelzések.', 'partnerexpo-core'); ?></p>
<?php <?php
} }
?> ?>