style: 更新图片预览组件的边框样式
This commit is contained in:
1 parent
932eb486fd
commit
1e62d97d87
1 file changed
+1
-2
@@ -27,8 +27,7 @@ class ImagePreviewWidget extends WidgetType {
|
|||||||
img.style.display = 'block';
|
img.style.display = 'block';
|
||||||
img.style.marginTop = '8px';
|
img.style.marginTop = '8px';
|
||||||
img.style.marginBottom = '8px';
|
img.style.marginBottom = '8px';
|
||||||
img.style.borderRadius = '4px';
|
img.style.border = '1px solid #e5e7eb';
|
||||||
img.style.boxShadow = '0 2px 8px rgba(0,0,0,0.1)';
|
|
||||||
|
|
||||||
wrap.appendChild(img);
|
wrap.appendChild(img);
|
||||||
return wrap;
|
return wrap;
|
||||||
|
|||||||
Reference in new issue
Block a user