From 8b10f3cba4e0577cc2fbb4c757342ead05000d03 Mon Sep 17 00:00:00 2001 From: Linda Date: Fri, 14 Sep 2018 13:52:29 -0400 Subject: [PATCH] made project stats and action buttons responsive --- src/views/preview/presentation.jsx | 2 +- src/views/preview/preview.scss | 43 +++++++++++++++++++++++++++--- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index 7403613df..d8dc01478 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -87,7 +87,7 @@ const PreviewPresentation = ({ { projectInfo && projectInfo.author && projectInfo.author.id && (
- + div, .action-button { + @media #{$medium-and-small} { + padding: 0 1rem; + } + } + } + + .stats, .subactions { + @media #{$medium-and-small} { + width: 100%; + } + } + + .subactions { + @media #{$medium-and-small} { + margin-top: 1rem; + } + } + .project-loves, .project-favorites, .project-remixes,