From a4e7ee35e42287198003f3878bcd3d1c3d0eb282 Mon Sep 17 00:00:00 2001 From: Linda Date: Fri, 14 Sep 2018 16:39:35 -0400 Subject: [PATCH] adapted show and remix button to mobile --- src/views/preview/presentation.jsx | 31 +++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index 7c32ad025..91fdbb507 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -2,6 +2,7 @@ const FormattedDate = require('react-intl').FormattedDate; const injectIntl = require('react-intl').injectIntl; const PropTypes = require('prop-types'); const intlShape = require('react-intl').intlShape; +const MediaQuery = require('react-responsive').default; const React = require('react'); const Formsy = require('formsy-react').default; const classNames = require('classnames'); @@ -28,6 +29,8 @@ const ExtensionChip = require('./extension-chip.jsx'); const projectShape = require('./projectshape.jsx').projectShape; require('./preview.scss'); +const frameless = require('../../lib/frameless'); + // disable enter key submission on formsy input fields; otherwise formsy thinks // we meant to trigger the "See inside" button. Instead, treat these keypresses // as a blur, which will trigger a save. @@ -122,20 +125,22 @@ const PreviewPresentation = ({ } -
- {/* TODO: Hide Remix button for now until implemented */} - {(!userOwnsProject && false) && - + } + - } - -
+ +