Merge pull request #4932 from paulkaplan/fix-tutorial-image-sync

Prevent previous tutorial images from hanging around on next/prev
This commit is contained in:
Paul Kaplan authored and GitHub committed 2019-06-21 09:05:28 -04:00
commit 9e0a239ec8
2 files changed
+4

No files matched your search

+3
View File
@@ -170,6 +170,9 @@
align-items: center;
position: relative;
text-align: center;
/* Min height prevents layout changing when images change */
min-height: 256px;
}
.step-video {
+1
View File
@@ -155,6 +155,7 @@ const ImageStep = ({title, image}) => (
<img
className={styles.stepImage}
draggable={false}
key={image} /* Use src as key to prevent hanging around on slow connections */
src={image}
/>
</div>