mirror of
https://github.com/filegator/filegator.git
synced 2025-08-12 16:44:23 +02:00
* Fix lazy loading images all being loaded when opening gallery Because the lazy loaded image didn't have a limited height. Many images would load anyway because they all fit in the parent box. Giving them a minimal height with object-cover keeps them looking good while limiting the amount that is lazy loaded. * reduce the height to make the minimal images square
49 lines
619 B
SCSS
49 lines
619 B
SCSS
html, body, #wrapper, #inner, .container {
|
|
height: 100%;
|
|
}
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.is-justify-between {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.is-justify-start {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.is-justify-end {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.upload-draggable {
|
|
display: flex!important;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.upload input[type=file] {
|
|
z-index: -10;
|
|
}
|
|
|
|
.modal-card-foot {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.image-lazy {
|
|
min-height: 150px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
@media all and (max-width: 1088px) {
|
|
.container {
|
|
padding: 20px;
|
|
}
|
|
}
|