소스 검색

removed height

lllllllillllllillll 1 년 전
부모
커밋
8c90b496c9
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      components/dashCard.js

+ 3 - 3
components/dashCard.js

@@ -5,12 +5,12 @@ module.exports.dashCard = function dashCard(data) {
   let margin, iconSize, fontSize = '';
   let margin, iconSize, fontSize = '';
 
 
   if (style == "Large") {
   if (style == "Large") {
-    iconSize = 'height="150px" width="150px"'
+    iconSize = 'width="150px"'
   } else if (style == "Compact") {
   } else if (style == "Compact") {
-    iconSize = 'height="110px" width="110px"'
+    iconSize = 'width="110px"'
     margin = 'style="margin-bottom: 0;"'
     margin = 'style="margin-bottom: 0;"'
   } else if (style == "Row") {
   } else if (style == "Row") {
-    iconSize = 'height="50px" width="50px"'
+    iconSize = 'width="50px"'
     margin = 'style="margin-bottom: 0;"'
     margin = 'style="margin-bottom: 0;"'
   }
   }