diff options
| author | 2022-07-19 12:56:09 +0200 | |
|---|---|---|
| committer | 2022-07-19 12:56:09 +0200 | |
| commit | 2d807e06b1abffdbc40a60c3623e22e3c6b818c6 (patch) | |
| tree | ab2178b30434ebd4d8ec911d12ee39a8f2cd0522 /app/views/index/normal.phtml | |
| parent | 6352a1dccbac03a9582810e5d284ebac54f24f5b (diff) | |
Fix/Improved: Slider mobile (#4416)
* add close button, add content slider div
* add &ajax=1#slider to the links
* CSS
* fix showPW functionality
* open slider after received Ajax
* do not show empty slider
* RTL CSS
* fixed code smell
* improved: links prep via JS
* Redirect anchor
* enable #anchors in printuri()
* enable #slider when config was saved
* Active sliding via JS
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/index/normal.phtml')
| -rw-r--r-- | app/views/index/normal.phtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index 179c0f86d..348a42e89 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -261,6 +261,9 @@ $today = @strtotime('today'); <?php $class = $this->displaySlider ? ' active' : ''; ?> <aside id="slider" class="scrollbar-thin<?= $class ?>"> + <a class="toggle_aside" href="#close"><img class="icon" src="../themes/icons/close.svg" loading="lazy" alt="❌"></a> + <div id="slider-content"> + </div> </aside> <a href="#" id="close-slider" class="<?= $class ?>"> <?= _i('close') ?> |
