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/subscription | |
| 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/subscription')
| -rw-r--r-- | app/views/subscription/index.phtml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index e85cd8392..ae842f990 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -25,7 +25,7 @@ <a class="btn" href="<?= _url('subscription', 'index', 'error', '1') ?>"><?= _i('look') ?> <?= _t('sub.feed.show.error') ?></a> </div> <?php } ?> - + <div class="drop-section"> <?php $signalError = false; @@ -73,11 +73,13 @@ </div> </div> </div> - <?php $class = $this->displaySlider ? ' active' : ''; ?> - <a href="#" id="close-slider" class="<?= $class ?>"> - <?= _i('close') ?> - </a> - <div id="slider" class="scrollbar-thin<?= $class ?>"> +</main> + +<?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'); @@ -85,5 +87,4 @@ $this->renderHelper('category/update'); } ?> - </div> -</main> +</aside> |
