fix: hidden-Attribut von File-Inputs entfernt (verhinderte Bild-Auswahl)

- hidden auf input[type=file] blockiert label-Trigger in manchen Browsern
- CSS .row-file-input { display: none } reicht zum Verstecken
- accept="image/*" ist korrekt gesetzt
This commit is contained in:
Hermes Agent
2026-06-19 00:02:13 +02:00
parent 9e727ef427
commit 681437b86b
+1 -1
View File
@@ -238,7 +238,7 @@ def build_index(articles: list[dict]) -> str:
<span class="readiness">{readiness}</span>
{image_badge}
<label class="row-upload-btn" title="Bild für diesen Artikel hochladen">
<input type="file" accept="image/*" class="row-file-input" onchange="uploadForRow(this, '{a['filename']}')" hidden>
<input type="file" accept="image/*" class="row-file-input" onchange="uploadForRow(this, '{a['filename']}')">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21 15 16 10 5 21"/></svg>
</label>
</div>\n"""