瀏覽代碼

width on selectwrapper

jusrhee 2 年之前
父節點
當前提交
6a1587af14
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dashboard/src/components/porter/Select.tsx

+ 1 - 1
dashboard/src/components/porter/Select.tsx

@@ -125,7 +125,7 @@ const Error = styled.div`
   }
   }
 `;
 `;
 
 
-const SelectWrapper = styled.div<{ width: string }>`
+const SelectWrapper = styled.div<{ width?: string }>`
   position: relative;
   position: relative;
   padding-left: 10px;
   padding-left: 10px;
   padding-right: 28px;
   padding-right: 28px;