mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 13:12:26 -06:00
some improvements to gallery view previews and size consistency
This commit is contained in:
parent
36f858a503
commit
64f047d190
|
|
@ -965,10 +965,12 @@ tr.play td:nth-child(1) a {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
#ggrid.noupscale>a img {
|
#ggrid.noupscale>a img {
|
||||||
width: auto;
|
width: auto;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
#ggrid.noupscale.gallery.nocrop>a img {
|
#ggrid.noupscale.gallery.nocrop>a img {
|
||||||
object-fit: scale-down;
|
object-fit: scale-down;
|
||||||
|
|
@ -3953,6 +3955,8 @@ html.e #wrap.thin {
|
||||||
margin: .3em;
|
margin: .3em;
|
||||||
}
|
}
|
||||||
a.img {
|
a.img {
|
||||||
|
height: calc(var(--grid-sz) / 1.1 - 4px);
|
||||||
|
max-height: none;
|
||||||
span {
|
span {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
@ -3974,7 +3978,7 @@ html.e #wrap.thin {
|
||||||
width: auto;
|
width: auto;
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: calc(var(--grid-sz) - 2em);
|
height: calc(var(--grid-sz) - 1em);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue