Alexander Zaytsev před 6 roky
rodič
revize
12c28881b4

+ 1 - 1
packages/@uppy/dashboard/src/components/FilePreview.js

@@ -13,7 +13,7 @@ module.exports = function FilePreview (props) {
   return (
     <div class="uppy-DashboardItem-previewIconWrap">
       <span class="uppy-DashboardItem-previewIcon" style={{ color: color }}>{icon}</span>
-      <svg class="uppy-DashboardItem-previewIconBg" width="54" height="74" viewBox="0 0 54 74"><rect fill="#FFF" width="54" height="74" rx="3" fill-rule="evenodd" /></svg>
+      <svg class="uppy-DashboardItem-previewIconBg" width="54" height="71" viewBox="0 0 54 71"><rect fill="#FFF" width="54" height="71" rx="3" fill-rule="evenodd" /></svg>
     </div>
   )
 }

+ 1 - 5
packages/@uppy/dashboard/src/style.scss

@@ -752,16 +752,12 @@ a.uppy-Dashboard-poweredBy {
   height: 75px;
   max-height: 75%;
   position: relative;
-
-  .uppy-size--md & {
-    height: 84px;
-  }
 }
 
 .uppy-DashboardItem-previewIconBg {
   width: 100%;
   height: 100%;
-  filter: drop-shadow(rgba($black, 0.15) 0px 1px 1px);
+  filter: drop-shadow(rgba($black, 0.1) 0px 1px 1px);
 }
 
 .uppy-DashboardItem-previewIcon {