From 50e3d4438c7f2f6808d313aa8ce2196cff3f06d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Hlav=C3=A1=C4=8Dik?= Date: Sat, 23 Nov 2024 16:21:32 +0100 Subject: [PATCH] Cleanup paddings and many other things (#470) * unrelated: Unite Verification page * urelated: remove test page * unrelated: resolve eslint warning * resolve #284: set nicer paddings to layout --- src/components/Latex/LatexExample.module.scss | 9 -------- .../Latex/LatexExample.module.scss.d.ts | 9 -------- src/components/Latex/LatexExample.tsx | 22 ------------------- src/components/PageLayout/PageLayout.tsx | 10 ++++++++- .../PagePlaceholder.module.scss | 4 ---- .../PagePlaceholder.module.scss.d.ts | 9 -------- .../PagePlaceholder/PagePlaceholder.tsx | 11 ---------- src/components/Profile/ProfileForm.tsx | 4 ++-- .../malynar/verifikacia/[[...params]].tsx | 10 ++------- src/pages/matik/verifikacia/[[...params]].tsx | 10 ++------- src/pages/test/index.tsx | 14 ------------ src/pages/test/latex.tsx | 12 ---------- 12 files changed, 15 insertions(+), 109 deletions(-) delete mode 100644 src/components/Latex/LatexExample.module.scss delete mode 100644 src/components/Latex/LatexExample.module.scss.d.ts delete mode 100644 src/components/Latex/LatexExample.tsx delete mode 100644 src/components/PagePlaceholder/PagePlaceholder.module.scss delete mode 100644 src/components/PagePlaceholder/PagePlaceholder.module.scss.d.ts delete mode 100644 src/components/PagePlaceholder/PagePlaceholder.tsx delete mode 100644 src/pages/test/index.tsx delete mode 100644 src/pages/test/latex.tsx diff --git a/src/components/Latex/LatexExample.module.scss b/src/components/Latex/LatexExample.module.scss deleted file mode 100644 index 87aa9765..00000000 --- a/src/components/Latex/LatexExample.module.scss +++ /dev/null @@ -1,9 +0,0 @@ -.latexExampleContainer { - height: 20rem; - display: flex; - flex-direction: column; -} - -.latexExampleContainer textarea { - height: 20rem; -} \ No newline at end of file diff --git a/src/components/Latex/LatexExample.module.scss.d.ts b/src/components/Latex/LatexExample.module.scss.d.ts deleted file mode 100644 index 6eedd20a..00000000 --- a/src/components/Latex/LatexExample.module.scss.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export type Styles = { - latexExampleContainer: string -} - -export type ClassNames = keyof Styles - -declare const styles: Styles - -export default styles diff --git a/src/components/Latex/LatexExample.tsx b/src/components/Latex/LatexExample.tsx deleted file mode 100644 index 0d43e359..00000000 --- a/src/components/Latex/LatexExample.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import {ChangeEvent, FC, useState} from 'react' - -import {Link} from '../Clickable/Link' -import {Latex} from './Latex' -import styles from './LatexExample.module.scss' - -export const LatexExample: FC = () => { - const [tex, setTex] = useState('') - const handleInputChange = (event: ChangeEvent) => { - setTex(event.target.value) - } - - return ( -
-
- {'< Back to examples'} -
-