From 75e78cb7c640fb08944063314fbd89de4c079587 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Thu, 18 May 2023 21:48:24 +0300 Subject: [PATCH] Fixed comment controls style for mobile --- .../CommentEditor/styles/CommentEditor.module.scss | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss b/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss index 6f8827ec..729c3589 100644 --- a/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss +++ b/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss @@ -9,9 +9,11 @@ } .actions { - display: flex; - flex-direction: row; - justify-content: space-between; + @include media-breakpoint-up(sm) { + display: flex; + flex-direction: row; + justify-content: space-between; + } .menu, .buttons { @@ -19,6 +21,12 @@ flex-direction: row; } + @include media-breakpoint-down(sm) { + .menu { + margin-bottom: 1em; + } + } + .buttons { gap: 10px; }