Browse Source

fix block max-height

main
ghost 1 year ago
parent
commit
355edf1063
  1. 4
      src/public/assets/theme/default/css/framework.css
  2. 2
      src/public/index.php

4
src/public/assets/theme/default/css/framework.css

@ -248,8 +248,8 @@ @@ -248,8 +248,8 @@
transition: max-height .2s;
}
*:hover > .max-height-parent-hover-640 {
max-height: 640px;
*:hover > .max-height-parent-hover-840 {
max-height: 840px;
transition: max-height .2s;
}

2
src/public/index.php

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

Loading…
Cancel
Save