瀏覽代碼

wrap preflight text (#4348)

d-g-town 2 年之前
父節點
當前提交
29fd37cb3b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dashboard/src/components/porter/Error.tsx

+ 3 - 0
dashboard/src/components/porter/Error.tsx

@@ -70,6 +70,7 @@ export default Error;
 
 const Block = styled.div`
   display: block;
+  max-width: 100%;
 `;
 
 const Underline = styled.span`
@@ -114,6 +115,7 @@ const ErrorMessageLabel = styled.span`
   margin-left: 10px;
   color: #9999aa;
   user-select: text;
+  display: inline;
 `;
 const ErrorMessageContent = styled.div`
   font-family: "Courier New", Courier, monospace;
@@ -123,4 +125,5 @@ const ErrorMessageContent = styled.div`
   user-select: text;
   cursor: text;
   color: #9999aa;
+  display: inline;
 `;