From a861108e6ede292cc8a43d43a97891528a506c69 Mon Sep 17 00:00:00 2001 From: sonic16x Date: Sat, 30 Nov 2024 04:22:14 +0700 Subject: [PATCH] Big refactoring #4 --- src/components/Modals/ModalDialog/ModalDialog.tsx | 4 ++-- src/components/Router/Router.tsx | 4 ++-- src/index.html.ejs | 3 --- src/index.scss | 1 + 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/Modals/ModalDialog/ModalDialog.tsx b/src/components/Modals/ModalDialog/ModalDialog.tsx index eecef5a0..004c962d 100644 --- a/src/components/Modals/ModalDialog/ModalDialog.tsx +++ b/src/components/Modals/ModalDialog/ModalDialog.tsx @@ -51,9 +51,9 @@ export const ModalDialog = return (
-
+ {content} -
+
); }; diff --git a/src/components/Router/Router.tsx b/src/components/Router/Router.tsx index 2e111fde..dc1014fe 100644 --- a/src/components/Router/Router.tsx +++ b/src/components/Router/Router.tsx @@ -79,11 +79,11 @@ export const Router = }, [interfaceLang]); return ( -
{renderPageContent(prevPage)} -
+ ); }; diff --git a/src/index.html.ejs b/src/index.html.ejs index babd3e02..f90109fa 100644 --- a/src/index.html.ejs +++ b/src/index.html.ejs @@ -21,9 +21,6 @@ - - - Interslavic Dictionary diff --git a/src/index.scss b/src/index.scss index 4432758a..058243ff 100644 --- a/src/index.scss +++ b/src/index.scss @@ -1,4 +1,5 @@ @use './colors'; +@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap'); body { --border-radius-s: 5px;