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:
parent
07a1904b9d
commit
0d3d6f4989
1 changed files with 19 additions and 5 deletions
|
@ -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%;
|
||||
|
|
Loading…
Reference in a new issue