style: 更新图片预览组件的边框样式

This commit is contained in:
seahi committed 2026-09-23 10:17:19 +08:00
1 parent 932eb486fd
commit 1e62d97d87
1 file changed
+1 -2
+1 -2
View File
@@ -27,8 +27,7 @@ class ImagePreviewWidget extends WidgetType {
img.style.display = 'block';
img.style.marginTop = '8px';
img.style.marginBottom = '8px';
img.style.borderRadius = '4px';
img.style.boxShadow = '0 2px 8px rgba(0,0,0,0.1)';
img.style.border = '1px solid #e5e7eb';
wrap.appendChild(img);
return wrap;