From ee6ec97ea747c0176add9cbe5e610884f1d0e606 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 29 Apr 2020 18:57:31 +0700 Subject: [PATCH] fixed mobile breakpoints --- src/containers/node/NodeLayout/styles.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/containers/node/NodeLayout/styles.scss b/src/containers/node/NodeLayout/styles.scss index b789bfaa..a45d4b27 100644 --- a/src/containers/node/NodeLayout/styles.scss +++ b/src/containers/node/NodeLayout/styles.scss @@ -1,6 +1,5 @@ .content { align-items: stretch !important; - @include vertical_at_tablet; } @@ -11,6 +10,10 @@ align-items: stretch; justify-content: flex-start; flex-direction: column; + + @media (max-width: 1024px) { + flex: 2 1; + } } .panel { @@ -21,16 +24,13 @@ padding-left: $gap / 2; min-width: 0; - @include tablet { + @media (max-width: 1024px) { padding-left: 0; + padding-top: $comment_height / 2; + flex: 1 2; } } -.node { - // background: $node_bg; - // box-shadow: $node_shadow; -} - .buttons { background: $node_buttons_bg; flex: 1;