Explorar el Código

wrap preflight text (#4348)

d-g-town hace 2 años
padre
commit
29fd37cb3b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;
 `;