From df28889248eceafcffc329d877efa640ca98c968 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Thu, 20 Oct 2022 19:56:26 +0300 Subject: [PATCH] Fixed editor layout --- src/components/Editor/components/Editor.tsx | 2 +- src/components/Editor/components/Layout.tsx | 2 +- src/components/Editor/styles/Editor.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Editor/components/Editor.tsx b/src/components/Editor/components/Editor.tsx index 2266b8c1..9cb44e3e 100644 --- a/src/components/Editor/components/Editor.tsx +++ b/src/components/Editor/components/Editor.tsx @@ -13,7 +13,7 @@ export const Editor = () => { const style = () => (store.error ? `display: none;` : store.markdown ? `white-space: pre-wrap;` : '') return ( { - return (
+ return (
{props.children}
) } diff --git a/src/components/Editor/styles/Editor.scss b/src/components/Editor/styles/Editor.scss index 9b3113ae..d735bb7d 100644 --- a/src/components/Editor/styles/Editor.scss +++ b/src/components/Editor/styles/Editor.scss @@ -69,7 +69,7 @@ button:focus { -webkit-font-variant-ligatures: none; font-variant-ligatures: none; outline: none; - margin: 1em 1em 1em 2em; + margin: 1em 1em 1em 0; .dark & { color: var(--background);