From 12e23cee4d48292072e01b27d9235e229ae01354 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Sat, 28 Oct 2017 15:52:53 +0300 Subject: [PATCH] [www] Document optimized to mobile --- src/style/components/document-row.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/style/components/document-row.scss b/src/style/components/document-row.scss index fa33b3d0..88859db8 100644 --- a/src/style/components/document-row.scss +++ b/src/style/components/document-row.scss @@ -4,7 +4,7 @@ display: flex; flex-direction: row; padding: 0; - margin-bottom: $single-margin; + margin-bottom: var(--single-margin); } .document-row__image{ @@ -32,7 +32,7 @@ } .document-row__file { - margin-left: $single-margin; + margin-left: var(--single-margin); flex-grow: 10; } @@ -44,7 +44,11 @@ } @media (max-width: $mobile-width) { - .document-row { - margin: 0 $single-margin/2 $single-margin; + .document-row__file { + margin-left: var(--half-margin); + } + + .document-row__file-info { + display: none; } }