diff options
| author | 2022-05-17 23:31:24 +0200 | |
|---|---|---|
| committer | 2022-05-17 23:31:24 +0200 | |
| commit | 0fc006096612174821db901840dabd20190074e2 (patch) | |
| tree | 6afa6b7d6cb42023ea860e8562e915207a967807 /app/views/stats/idle.phtml | |
| parent | 20eba951f7e6d55c95b7f4f1eef6790a3586830b (diff) | |
Fix slider when no article (#4375)
* Fix slider when no article
#fix https://github.com/FreshRSS/FreshRSS/issues/4373
https://github.com/FreshRSS/FreshRSS/pull/4291
* Use aside
* Forgotten
Co-authored-by: maTh <math-home@web.de>
Diffstat (limited to 'app/views/stats/idle.phtml')
| -rw-r--r-- | app/views/stats/idle.phtml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml index c62b5b388..3dc3ab700 100644 --- a/app/views/stats/idle.phtml +++ b/app/views/stats/idle.phtml @@ -48,16 +48,16 @@ <span class="alert-head"><?= _t('admin.stats.no_idle') ?></span> </p> <?php } ?> +</main> - <?php $class = $this->displaySlider ? ' active' : ''; ?> - <a href="#" id="close-slider" class="<?= $class ?>"> - <?= _i('close') ?> - </a> - <div id="slider" class="scrollbar-thin<?= $class ?>"> +<?php $class = $this->displaySlider ? ' active' : ''; ?> +<a href="#" id="close-slider" class="<?= $class ?>"> + <?= _i('close') ?> +</a> +<aside id="slider" class="scrollbar-thin<?= $class ?>"> <?php if (isset($this->feed)) { $this->renderHelper('feed/update'); } ?> - </div> -</main> +</aside> |
