From a66c49ada95919f60a783f9203f97fdf5b094308 Mon Sep 17 00:00:00 2001 From: Alexey Khaov Date: Tue, 24 Jan 2023 01:11:36 +0300 Subject: [PATCH] Style fixes --- src/components/Author/Card.module.scss | 10 ++-------- src/components/EditorNew/Editor.tsx | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/Author/Card.module.scss b/src/components/Author/Card.module.scss index e8f9062a..61b5cd2f 100644 --- a/src/components/Author/Card.module.scss +++ b/src/components/Author/Card.module.scss @@ -211,7 +211,7 @@ } .authorSubscribe { - margin-top: 2rem; + margin: 2rem -0.8rem 0; padding-left: 0; @include media-breakpoint-down(md) { @@ -261,17 +261,11 @@ } .button { - margin-right: 1.6rem; + margin: 0 0.8rem; vertical-align: middle; - &:last-of-type { - margin-right: 0; - } - @include media-breakpoint-down(sm) { - display: block; margin-bottom: 0.5em; - margin-right: 0; } } } diff --git a/src/components/EditorNew/Editor.tsx b/src/components/EditorNew/Editor.tsx index d9560fc9..3d1a5883 100644 --- a/src/components/EditorNew/Editor.tsx +++ b/src/components/EditorNew/Editor.tsx @@ -66,7 +66,7 @@ export const Editor = () => { } return ( -
+
(editorElRef.current = el)} />