From d42a98957deae723978c51102a4c344be3bc8d60 Mon Sep 17 00:00:00 2001 From: Fedor Katurov <gotham48@gmail.com> Date: Fri, 26 Feb 2021 15:58:52 +0700 Subject: [PATCH] hiding buttons on mobile --- src/components/comment/CommentForm/styles.module.scss | 1 + .../comment/CommentFormFormatButtons/styles.module.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/components/comment/CommentForm/styles.module.scss b/src/components/comment/CommentForm/styles.module.scss index dd978bde..c2a58a5c 100644 --- a/src/components/comment/CommentForm/styles.module.scss +++ b/src/components/comment/CommentForm/styles.module.scss @@ -26,6 +26,7 @@ background: transparentize(black, 0.8); padding: $gap / 2; border-radius: 0 0 $radius $radius; + flex-wrap: wrap; } .uploads { diff --git a/src/components/comment/CommentFormFormatButtons/styles.module.scss b/src/components/comment/CommentFormFormatButtons/styles.module.scss index 738e46e6..5360b104 100644 --- a/src/components/comment/CommentFormFormatButtons/styles.module.scss +++ b/src/components/comment/CommentFormFormatButtons/styles.module.scss @@ -4,4 +4,8 @@ display: flex; flex-wrap: wrap; height: 32px; + + @media(max-width: 480px) { + display: none; + } }