From 2d65641693f48d5b2dfdbaf46de5c3a4a93dbdfb Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Sat, 12 Oct 2019 18:08:08 +0700 Subject: [PATCH] fixed no-comment height --- src/components/flow/Cell/index.tsx | 9 --------- src/components/node/NodeNoComments/styles.scss | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/components/flow/Cell/index.tsx b/src/components/flow/Cell/index.tsx index 404d2de7..e85c2576 100644 --- a/src/components/flow/Cell/index.tsx +++ b/src/components/flow/Cell/index.tsx @@ -49,12 +49,3 @@ const Cell: FC = ({ node: { id, title, brief, type }, onSelect, is_text }; export { Cell }; - -/* - {is_text && ( -
-
{node.title}
- {TEXTS.LOREM_IPSUM} -
- )} -*/ diff --git a/src/components/node/NodeNoComments/styles.scss b/src/components/node/NodeNoComments/styles.scss index 2f8bd9ce..30cbc870 100644 --- a/src/components/node/NodeNoComments/styles.scss +++ b/src/components/node/NodeNoComments/styles.scss @@ -31,6 +31,8 @@ text-transform: uppercase; font: $font_18_semibold; color: transparentize(white, 0.5); + flex: 0 0 $comment_height; + @include outer_shadow(); &:nth-child(2) {