collapse long post description, show on hover

This commit is contained in:
ghost 2023-08-29 13:31:00 +03:00
parent 3aecc84880
commit cc955e0286
2 changed files with 14 additions and 3 deletions

View file

@ -307,7 +307,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
<?php } ?>
</div>
<?php if ($magnet->metaDescription) { ?>
<div class="margin-y-8"><?php echo $magnet->metaDescription ?></div>
<div class="margin-y-8 max-height-220 max-height-parent-hover-640"><?php echo $magnet->metaDescription ?></div>
<?php } ?>
<?php if ($magnet->keywords) { ?>
<div class="margin-y-8">