refactor(doc-item): renderCover icon src durch doc.iconSrc ersetzen.

- pdf.svg bearbeiten
This commit is contained in:
tekh 2025-07-11 13:04:12 +02:00
parent 5e36a978a7
commit 9b03b39db0
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg version="1.1" id="_x35_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" xml:space="preserve">
viewBox="-200 -200 912 912" xml:space="preserve">
<g>
<polygon style="fill:#B12A27;" points="475.435,117.825 475.435,512 47.791,512 47.791,0.002 357.613,0.002 412.491,54.881 "/>
<rect x="36.565" y="34.295" style="fill:#F2F2F2;" width="205.097" height="91.768"/>

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -101,7 +101,7 @@ export function DocItem({
<Box
component="img"
alt={doc.name}
src="assets/icons/file/unknown.svg"
src={doc.iconSrc}
sx={{
top: 0,
width: 1,