mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 21:22:26 -06:00
fix transparent thumbnails
This commit is contained in:
parent
47be8f9cd0
commit
67c5194ab2
|
|
@ -3981,7 +3981,7 @@ html.e #wrap.thin {
|
||||||
a.img {
|
a.img {
|
||||||
height: calc(var(--grid-sz) - 1em);
|
height: calc(var(--grid-sz) - 1em);
|
||||||
max-height: none;
|
max-height: none;
|
||||||
span {
|
span:not(.th_ext) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6673,6 +6673,9 @@ var thegrid = (function () {
|
||||||
|
|
||||||
function th_onload(el) {
|
function th_onload(el) {
|
||||||
el.style.height = '';
|
el.style.height = '';
|
||||||
|
el.previousSibling.style.display =
|
||||||
|
el.previousSibling.previousSibling.style.display =
|
||||||
|
'none'
|
||||||
}
|
}
|
||||||
|
|
||||||
function th_onerror(el) {
|
function th_onerror(el) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue