1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2024-12-28 03:41:58 +00:00

Update mobile view

This commit is contained in:
Alan Grainger 2024-10-29 19:49:21 +01:00
parent 07a1904b9d
commit 0d3d6f4989

View file

@ -2,11 +2,6 @@ html {
background: #191919;
}
#lightgallery img {
height: 300px;
margin: 4px;
}
#lightgallery a {
position: relative;
display: inline-block;
@ -16,6 +11,25 @@ html {
cursor: pointer;
}
#lightgallery img {
max-height: 250px;
margin: 4px;
}
@media (max-width:800px) {
#lightgallery a {
width: calc(100vw / 3 - 10px);
height: calc(100vw / 3 - 10px);
overflow: hidden;
}
#lightgallery img {
width: 100%;
height: auto;
object-fit: cover;
object-position: center;
}
}
.play-icon {
position: absolute;
top: 50%;