From 0442243037fc7fb80228790a871328629a1aa882 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 18 May 2020 18:45:47 +0200 Subject: Fix nav_menu mark-as-read (#2909) * Fix nav_menu mark-as-read #Fix https://github.com/FreshRSS/FreshRSS/issues/2905 Fix regression from https://github.com/FreshRSS/FreshRSS/pull/2588 We need info about the first item (id_max) before being able to output nav_menu. Before https://github.com/FreshRSS/FreshRSS/pull/2588 we used to output everything in memory before starting to produce an output. Now that we stream the output, we need a temporary buffer until we have received the first item/article. * Repair loading page * Simplify CSS Make it work in Chrome as well * Lint * Partial revert * Base max_id solely on current time --- p/themes/base-theme/template.rtl.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'p/themes/base-theme/template.rtl.css') diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css index fac75c97b..0e4936f22 100644 --- a/p/themes/base-theme/template.rtl.css +++ b/p/themes/base-theme/template.rtl.css @@ -891,13 +891,9 @@ br { } /*=== "Load" parts */ - -/* Only matches while waiting for div#stream to be received */ -#first_load:nth-last-of-type(1), #first_load:nth-last-of-type(2) { - margin: -40px auto 0 auto; +#first_load { + margin: 130px auto -170px auto; height: 40px; - position: relative; - top: 290px; } #load_more { -- cgit v1.2.3