aboutsummaryrefslogtreecommitdiff
path: root/app/views/extension
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-05-17 23:31:24 +0200
committerGravatar GitHub <noreply@github.com> 2022-05-17 23:31:24 +0200
commit0fc006096612174821db901840dabd20190074e2 (patch)
tree6afa6b7d6cb42023ea860e8562e915207a967807 /app/views/extension
parent20eba951f7e6d55c95b7f4f1eef6790a3586830b (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/extension')
-rw-r--r--app/views/extension/index.phtml15
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/extension/index.phtml b/app/views/extension/index.phtml
index dea2a9977..4c9a58494 100644
--- a/app/views/extension/index.phtml
+++ b/app/views/extension/index.phtml
@@ -77,15 +77,16 @@
</table>
</div>
<?php } ?>
- <?php $class = isset($this->extension) ? ' active' : ''; ?>
- <a href="#" id="close-slider" class="<?= $class ?>">
- <?= _i('close') ?>
- </a>
- <div id="slider" class="scrollbar-thin<?= $class ?>">
+</main>
+
+<?php $class = isset($this->extension) ? ' active' : ''; ?>
+<a href="#" id="close-slider" class="<?= $class ?>">
+ <?= _i('close') ?>
+</a>
+<aside id="slider" class="scrollbar-thin<?= $class ?>">
<?php
if (isset($this->extension)) {
$this->renderHelper('extension/configure');
}
?>
- </div>
-</main>
+</aside>