This commit is contained in:
Til Schmitter 2026-05-08 19:11:42 +02:00
parent 0b1f785552
commit eedde082b3

View file

@ -6466,7 +6466,7 @@ var thegrid = (function () {
(isdir ? 'folder' : 'file') + '-icon" color="#' +
(ext == 'unk' || ext.startsWith('/') ? '0000' : intToRGB(hashCode(ext))) + '"/></svg>' +
(isdir || ext == 'unk' || ext.startsWith('/') ? '' :
'<span class="th_ext" style="fint-size: ' + (r.sz / 5) +'em; font-size:calc(var(--grid-sz) / 5 * ' +
'<span class="th_ext" style="font-size: ' + (r.sz / 5) +'em; font-size:calc(var(--grid-sz) / 5 * ' +
(ext.length > 3 ? 1 / (3 + ext.length * .4) * 3 : 1) + ')">' + ext + '</span>') +
'<img style="height:' +
(r.sz / 1.25) + 'em" loading="lazy" onload="th_onload(this)" onerror="th_onerror(this)" src="' +