templates fixes

This commit is contained in:
Django Doucet 2020-10-23 14:10:01 -04:00
parent fe58f3c73f
commit ca8be5e49a
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
* Plugin Name: FediEmbedi
* Plugin URI: https://git.feneas.org/mediaformat/fediembedi
* Description: Widgets and shortcodes to show your Fediverse profile timeline
* Version: 0.10.6
* Version: 0.10.7
* Author: mediaformat
* Author URI: https://mediaformat.org
* License: GPLv3

View File

@ -1,5 +1,5 @@
<!-- mastodon -->
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
<div class="scrollable" <?php if (!empty($height)) : echo 'style="height: $height;"'; endif; ?>>
<div role="feed">
<?php if($show_header): ?>
<div class="account-timeline__header">

View File

@ -1,5 +1,5 @@
<!-- peertube -->
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
<div class="scrollable" <?php if (!empty($height)) : echo 'style="height: $height;"'; endif; ?>>
<div role="feed">
<?php if($show_header): ?>
<div class="peertube-timeline__header">

View File

@ -1,5 +1,5 @@
<!-- pixelfed -->
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
<div class="scrollable" <?php if (!empty($height)) : echo 'style="height: $height;"'; endif; ?>>
<div role="feed" class="embed-card pixelfed">
<div class="pixelfed-inner card status-card-embed card-md-rounded-0 border">
<?php if($show_header): ?>