diff options
| author | 2022-04-11 10:31:04 +0200 | |
|---|---|---|
| committer | 2022-04-11 10:31:04 +0200 | |
| commit | 5e28bf8b403205642cf09aad5ef47ed1aa781a5d (patch) | |
| tree | 23e47d360f5cffb05febe379dc6eb4d1562f9edb /app/views/index/normal.phtml | |
| parent | 2aba861bc983555faf6dd96c5daa4e40e5328c54 (diff) | |
Improved: slider (#4297)
* CSS
* thin scrollbar
* fix whitespaces in CSS
* fix CSS order
Diffstat (limited to 'app/views/index/normal.phtml')
| -rw-r--r-- | app/views/index/normal.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index 92c10b1b7..49e3c791a 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -114,11 +114,11 @@ $today = @strtotime('today'); if ($nbEntries > 0): call_user_func($this->callbackBeforePagination, $this, $nbEntries, $lastEntry); $this->renderHelper('stream-footer'); -?><?php $class = $this->displaySlider ? ' class="active"' : ''; ?> -<a href="#" id="close-slider"<?= $class ?>> +?><?php $class = $this->displaySlider ? ' active' : ''; ?> +<a href="#" id="close-slider" class="<?= $class ?>"> <?= _i('close') ?> </a> -<div id="slider"<?= $class ?>> +<div id="slider" class="scrollbar-thin<?= $class ?>"> </div></main><?php else: ob_end_clean(); //Discard the articles headers, as we have no articles |
