From 9d9179b4ec2d4a2e8d3c534445410717e398cf40 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Thu, 8 Feb 2024 13:34:17 +0100 Subject: [PATCH] fixed warning --- frontend/src/scripts/index.js | 4 ++-- frontend/src/styles/index.scss | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index d132c92..2baa5d4 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -41,11 +41,11 @@ class Main extends Component { return (
{this.state.status == "success" && -
+
{this.state.text}
} {this.state.status == "failed" && -
+
{this.state.text}
}
diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 997fbdd..facb04e 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -12,4 +12,9 @@ .video{ margin-top: 30px; +} + +.absolute{ + position: fixed; + top: 0px; } \ No newline at end of file