diff --git a/package.json b/package.json index 5ced3c520..3f4eb56aa 100644 --- a/package.json +++ b/package.json @@ -105,8 +105,8 @@ "redux-throttle": "0.1.1", "rimraf": "^2.6.1", "scratch-audio": "0.1.0-prerelease.20190114210212", - "scratch-blocks": "0.1.0-prerelease.1558719162", "scratch-l10n": "3.3.20190529144051", + "scratch-blocks": "0.1.0-prerelease.1559136797", "scratch-paint": "0.2.0-prerelease.20190524133325", "scratch-render": "0.1.0-prerelease.20190528231524", "scratch-storage": "1.3.2", diff --git a/src/components/cards/card.css b/src/components/cards/card.css index a0a8b88d5..5a160c455 100644 --- a/src/components/cards/card.css +++ b/src/components/cards/card.css @@ -275,14 +275,6 @@ margin-right: 0.5rem; } -.video-cover { - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; -} - .steps-list { display: flex; flex-direction: row; diff --git a/src/components/cards/cards.jsx b/src/components/cards/cards.jsx index 83e40bf49..9424d108d 100644 --- a/src/components/cards/cards.jsx +++ b/src/components/cards/cards.jsx @@ -85,32 +85,50 @@ const CardHeader = ({onCloseCards, onShrinkExpandCards, onShowAll, totalSteps, s ); -// Video step needs to know if the card is being dragged to cover the video -// so that the mouseup is not swallowed by the iframe. -const VideoStep = ({video, dragging}) => ( -
- {dragging ? ( -
- ) : null} -