From 4467a7a571670ad56745bc0d1ea8b3a38616a112 Mon Sep 17 00:00:00 2001 From: TSV Date: Tue, 21 Feb 2023 19:15:48 +0300 Subject: [PATCH] Work for #5551 - Implement TOC navigation - fixed react top bar style --- src/react/reactSurveyProgress.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/react/reactSurveyProgress.tsx b/src/react/reactSurveyProgress.tsx index 776aaf35d1..bc7a4efa63 100644 --- a/src/react/reactSurveyProgress.tsx +++ b/src/react/reactSurveyProgress.tsx @@ -17,12 +17,11 @@ export class SurveyProgress extends SurveyNavigationBase { return this.survey.progressText; } render(): JSX.Element { - var style = this.isTop ? {} : { marginTop: "1em" }; var progressStyle = { width: this.progress + "%", }; return ( -
+