0
0
Fork 0

Fix edit media modal on small screens, touch events (#11573)

This commit is contained in:
Eugen Rochko 2019-08-15 20:28:56 +02:00 committed by GitHub
parent cdc474628d
commit 1bea318197
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 2 deletions

View file

@ -5757,6 +5757,11 @@ noscript {
position: relative;
cursor: move;
overflow: hidden;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background: $base-shadow-color;
img,
video {
@ -5807,6 +5812,17 @@ noscript {
box-shadow: 0 0 14px rgba($base-shadow-color, 0.2);
}
}
@media screen and (max-width: 480px) {
img,
video {
max-height: 100%;
}
&__preview {
display: none;
}
}
}
.account__header__content {