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:
2 files changed
+4
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user