* Shrink too wide single image modal
Fix too wide react-swipeable-view-container
Fix
0067f80 shrinking all react-swipeable-view-container
Change to apply max-width of react-swipeable-view-container only under media-modal.
Fix
b30b03b just a typo
* Centering contents in image-loader
Centering small img, canvas, and video in image-loader.
top: 0;
left: 0;
right: 0;
- width: 100%;
- height: 100%;
+ max-width: 100%;
+ max-height: 100%;
background-image: none;
}
video {
max-width: 80vw;
max-height: 80vh;
- width: 100%;
+ width: auto;
height: auto;
+ margin: auto;
}
.extended-video-player,
background: url('../images/void.png') repeat;
object-fit: contain;
}
+
+ .react-swipeable-view-container {
+ max-width: 80vw;
+ }
}
.media-modal__close {