# HG changeset patch # User bsw # Date 1637242380 -3600 # Node ID dadba1e282268b82378ceb073579099a89d88d30 # Parent c181ee0f369d59e9ed89a39c32a09b92573c1d40 Avoid counter overlapping with question text diff -r c181ee0f369d -r dadba1e28226 app/main/survey/participate.lua --- a/app/main/survey/participate.lua Thu Nov 18 14:31:50 2021 +0100 +++ b/app/main/survey/participate.lua Thu Nov 18 14:33:00 2021 +0100 @@ -37,8 +37,8 @@ if survey_member.finished then slot.put(survey.finished_title) else + ui.tag{ attr = { class = "survey_counter" }, content = (question_number + 1) .. " / " .. #survey.questions } ui.tag{ tag = "span", content = question.question } - ui.tag{ attr = { class = "survey_counter" }, content = (question_number + 1) .. " / " .. #survey.questions } end end } end }