From 2d807e06b1abffdbc40a60c3623e22e3c6b818c6 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 19 Jul 2022 12:56:09 +0200 Subject: 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 --- app/views/configure/queries.phtml | 21 ++++++++++++--------- app/views/extension/index.phtml | 18 +++++++++++------- app/views/helpers/category/update.phtml | 2 +- app/views/helpers/configure/query.phtml | 2 +- app/views/helpers/feed/update.phtml | 16 ++++++++-------- app/views/index/normal.phtml | 3 +++ app/views/stats/idle.phtml | 9 ++++++--- app/views/subscription/index.phtml | 21 ++++++++++++--------- 8 files changed, 54 insertions(+), 38 deletions(-) (limited to 'app') diff --git a/app/views/configure/queries.phtml b/app/views/configure/queries.phtml index 227acc777..93ed38e10 100644 --- a/app/views/configure/queries.phtml +++ b/app/views/configure/queries.phtml @@ -61,14 +61,17 @@ -displaySlider ? ' active' : ''; ?> - - - +query != null) ? ' active' : ''; ?> + + + diff --git a/app/views/extension/index.phtml b/app/views/extension/index.phtml index 6d4a1ba6d..c78a815d0 100644 --- a/app/views/extension/index.phtml +++ b/app/views/extension/index.phtml @@ -80,13 +80,17 @@ extension) ? ' active' : ''; ?> -