mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
IE fixes
This commit is contained in:
parent
7535336f11
commit
0b1f785552
|
|
@ -167,7 +167,7 @@
|
|||
<defs>
|
||||
<symbol id="folder-icon" viewBox="0 0 24 24">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7C3 5.89543 3.89543 5 5 5L8.67157 5C9.20201 5 9.71071 5.21071 10.0858 5.58579L10.9142 6.41421C11.2893 6.78929 11.798 7 12.3284 7H19C20.1046 7 21 7.89543 21 9V17C21 18.1046 20.1046 19 19 19H5C3.89543 19 3 18.1046 3 17V7Z"
|
||||
fill="var(--a)"/>
|
||||
style="fill:#07c; fill:var(--a);"/>
|
||||
</symbol>
|
||||
<symbol id="file-icon" viewBox="0 0 48 48">
|
||||
<path
|
||||
|
|
@ -178,14 +178,16 @@
|
|||
class="a"
|
||||
d="M39.5,15.5h-9a2,2,0,0,1-2-2v-9h-18a2,2,0,0,0-2,2v35a2,2,0,0,0,2,2h27a2,2,0,0,0,2-2Z"
|
||||
id="path1"
|
||||
stroke-width="1" fill="none" stroke="var(--a)" stroke-linecap="round" stroke-linejoin="round" />
|
||||
style="stroke:#07c; stroke:var(--a);"
|
||||
stroke-width="1" fill="none" stroke-linecap="round" stroke-linejoin="round" />
|
||||
<line
|
||||
class="a"
|
||||
x1="28.5"
|
||||
y1="4.5"
|
||||
x2="39.5"
|
||||
y2="15.5"
|
||||
stroke-width="1" fill="none" stroke="var(--a)" stroke-linecap="round" stroke-linejoin="round" />
|
||||
style="stroke:#07c; stroke:var(--a);"
|
||||
stroke-width="1" fill="none" stroke-linecap="round" stroke-linejoin="round" />
|
||||
</symbol>
|
||||
</defs>
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -6465,7 +6465,8 @@ var thegrid = (function () {
|
|||
'<svg class="thumb" width="100%" height="100%" version="1.1"><use href="#' +
|
||||
(isdir ? 'folder' : 'file') + '-icon" color="#' +
|
||||
(ext == 'unk' || ext.startsWith('/') ? '0000' : intToRGB(hashCode(ext))) + '"/></svg>' +
|
||||
(isdir || ext == 'unk' || ext.startsWith('/') ? '' : '<span class="th_ext" style="font-size:calc(var(--grid-sz) / 5 * ' +
|
||||
(isdir || ext == 'unk' || ext.startsWith('/') ? '' :
|
||||
'<span class="th_ext" style="fint-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="' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue