forked from rDrama/rDrama
reduce expanded image height on mobile
parent
b4e8d0aad4
commit
1d20d27b17
|
@ -6836,7 +6836,7 @@ div.markdown {
|
||||||
}
|
}
|
||||||
#desktop-expanded-image {
|
#desktop-expanded-image {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 80vh;
|
max-height: 70vh;
|
||||||
border: 5px white solid;
|
border: 5px white solid;
|
||||||
}
|
}
|
||||||
#expandImageModal > .modal-dialog {
|
#expandImageModal > .modal-dialog {
|
||||||
|
@ -6847,6 +6847,9 @@ div.markdown {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
|
#desktop-expanded-image {
|
||||||
|
max-height: 80vh;
|
||||||
|
}
|
||||||
#expandImageModal > .modal-dialog {
|
#expandImageModal > .modal-dialog {
|
||||||
max-width: 90% !important;
|
max-width: 90% !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue