From 991c1b0ad3c689a2f1d26dc3ee550f4bfd85f9e5 Mon Sep 17 00:00:00 2001 From: Devansh Sharma Date: Thu, 20 Apr 2023 13:18:08 +0530 Subject: [PATCH] Fix input box CSS issue; Cleanup error.html --- default.template | 6 ------ src/stylesheets/_landingpage.scss | 2 +- webpack.common.js | 6 ------ 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/default.template b/default.template index 75a5faabd..1c9ada9cc 100644 --- a/default.template +++ b/default.template @@ -6,12 +6,6 @@ server { index index.html; } - # custom error page for 404 errors - error_page 404 /error.html; - location = /error.html { - root /opt/build-your-own-radar; - } - # nginx default error page for 50x errors error_page 500 502 503 504 /50x.html; location = /50x.html { diff --git a/src/stylesheets/_landingpage.scss b/src/stylesheets/_landingpage.scss index 2aaec0e2e..ffc950cf3 100644 --- a/src/stylesheets/_landingpage.scss +++ b/src/stylesheets/_landingpage.scss @@ -45,7 +45,7 @@ flex-wrap: nowrap; align-items: center; - input[type='text'] { + input#document-input { font-family: $baseFontFamily; background-color: $mist; border: 1px solid #d5d9db; diff --git a/webpack.common.js b/webpack.common.js index 207003451..004d862ea 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -25,12 +25,6 @@ const plugins = [ chunks: ['main'], inject: 'body', }), - new HtmlWebpackPlugin({ - template: './src/error.html', - chunks: ['common'], - inject: 'body', - filename: 'error.html', - }), new webpack.DefinePlugin({ 'process.env.CLIENT_ID': JSON.stringify(process.env.CLIENT_ID), 'process.env.API_KEY': JSON.stringify(process.env.API_KEY),