瀏覽代碼

Merge pull request #245 from smiclea/error-layout

Fix long line layout in validation error message
Dorin Paslaru 8 年之前
父節點
當前提交
673b015bf4
共有 2 個文件被更改,包括 3 次插入0 次删除
  1. 1 0
      src/components/organisms/Endpoint/index.jsx
  2. 2 0
      src/components/organisms/EndpointValidation/index.jsx

+ 1 - 0
src/components/organisms/Endpoint/index.jsx

@@ -69,6 +69,7 @@ const ShowErrorButton = styled.span`
   cursor: pointer;
 `
 const StatusError = styled.div`
+  max-width: 100%;
   margin-top: 16px;
   max-height: 140px;
   overflow: auto;

+ 2 - 0
src/components/organisms/EndpointValidation/index.jsx

@@ -43,6 +43,8 @@ const Validation = styled.div`
   ${contentStyle}
 `
 const Message = styled.div`
+  max-width: 100%;
+  overflow: auto;
   margin-top: 48px;
   text-align: center;
 `