release(v2.2.3): round gallery card corners in file grid

This commit is contained in:
Ryan
2025-11-29 23:25:57 -05:00
committed by GitHub
parent f2ce43f18f
commit 3e473d57b4
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
## Changes 11/29/2025 (v2.2.3) ## Changes 11/29/2025 (v2.2.3)
fix(preview): harden SVG handling and normalize mime type fix(preview): harden SVG handling and normalize mime type
release(v2.2.3): round gallery card corners in file grid
- Stop treating SVGs as inline-previewable images in file list and preview modal - Stop treating SVGs as inline-previewable images in file list and preview modal
- Show a clear “SVG preview disabled for security reasons” message instead - Show a clear “SVG preview disabled for security reasons” message instead

View File

@@ -1998,7 +1998,7 @@ export function renderGalleryView(folder, container) {
galleryHTML += ` galleryHTML += `
<div class="gallery-card" <div class="gallery-card"
data-file-name="${escapeHTML(file.name)}" data-file-name="${escapeHTML(file.name)}"
style="position:relative; border:1px solid #ccc; padding:5px; text-align:center;"> style="position:relative; border-radius: 12px; border:1px solid #ccc; padding:5px; text-align:center;">
<input type="checkbox" <input type="checkbox"
class="file-checkbox" class="file-checkbox"
id="cb-${idSafe}" id="cb-${idSafe}"