diff --git a/src/components/Icon/IconFile.vue b/src/components/Icon/IconFile.vue index a9943ad..cb78240 100644 --- a/src/components/Icon/IconFile.vue +++ b/src/components/Icon/IconFile.vue @@ -33,12 +33,11 @@
- - +
-
+
- +
@@ -191,9 +190,6 @@ export default { line-height: 35px; } ->>> .image-slot-error { -} - .icon-favorite { position: absolute; color: #f5222d; diff --git a/src/components/preview/FileDetails.vue b/src/components/preview/FileDetails.vue index 7d995b0..6486603 100644 --- a/src/components/preview/FileDetails.vue +++ b/src/components/preview/FileDetails.vue @@ -392,6 +392,8 @@ export default { >>> .el-image.cover { height: unset !important; margin-bottom: 20px; + max-width: 100%; + max-height: 60vh; } >>> .el-dialog {