Procházet zdrojové kódy

fixed launch flow width

portersupport před 3 roky
rodič
revize
f53b8962aa

+ 2 - 0
dashboard/src/main/home/cluster-dashboard/stacks/launch/NewApp.tsx

@@ -278,6 +278,8 @@ const Polymer = styled.div`
 
 const StyledLaunchFlow = styled.div`
   min-width: 300px;
+  width: calc(100% - 100px);
+  margin-left: 50px;
   margin-top: ${(props: { disableMarginTop?: boolean }) =>
     props.disableMarginTop ? "inherit" : "calc(50vh - 380px)"};
   padding-bottom: 150px;

+ 2 - 0
dashboard/src/main/home/cluster-dashboard/stacks/launch/Overview.tsx

@@ -225,6 +225,8 @@ const Polymer = styled.div`
 
 const StyledLaunchFlow = styled.div`
   min-width: 300px;
+  width: calc(100% - 100px);
+  margin-left: 50px;
   margin-top: ${(props: { disableMarginTop?: boolean }) =>
     props.disableMarginTop ? "inherit" : "calc(50vh - 380px)"};
   padding-bottom: 150px;

+ 2 - 0
dashboard/src/main/home/cluster-dashboard/stacks/launch/SelectSource.tsx

@@ -88,6 +88,8 @@ const Polymer = styled.div`
 `;
 
 const StyledLaunchFlow = styled.div`
+  width: calc(100% - 100px);
+  margin-left: 50px;
   min-width: 300px;
   margin-top: ${(props: { disableMarginTop?: boolean }) =>
     props.disableMarginTop ? "inherit" : "calc(50vh - 380px)"};

+ 1 - 2
dashboard/src/main/home/cluster-dashboard/stacks/launch/index.tsx

@@ -34,7 +34,6 @@ const LaunchRoutes = () => {
 export default LaunchRoutes;
 
 const LaunchContainer = styled.div`
-  max-width: 780px;
   margin: 0 auto;
-  padding: 0 20px;
+  width: 100%;
 `;

+ 2 - 0
dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

@@ -496,6 +496,8 @@ const Polymer = styled.div`
 `;
 
 const StyledLaunchFlow = styled.div`
+  width: calc(90% - 130px);
+  min-width: 300px;
   margin-top: ${(props: { disableMarginTop: boolean }) =>
     props.disableMarginTop ? "inherit" : "calc(40vh - 310px)"};
 `;