Forráskód Böngészése

change width of image settings tab (#3852)

Feroze Mohideen 2 éve
szülő
commit
26ce8676bf

+ 6 - 2
dashboard/src/main/home/app-dashboard/app-view/tabs/ImageSettingsTab.tsx

@@ -30,7 +30,7 @@ const ImageSettingsTab: React.FC<Props> = ({ buttonStatus }) => {
 
     return match(source)
         .with({ type: "docker-registry" }, (source) => (
-            <>
+            <ImageSettingsTabContainer>
                 <ImageSettings
                     projectId={projectId}
                     imageUri={source.image?.repository ?? ""}
@@ -66,7 +66,7 @@ const ImageSettingsTab: React.FC<Props> = ({ buttonStatus }) => {
                         </CopyToClipboard>
                     </CopyContainer>
                 </IdContainer>
-            </>
+            </ImageSettingsTabContainer>
         ))
         .otherwise(() => null);
 };
@@ -77,6 +77,10 @@ const Code = styled.span`
   font-family: monospace;
 `;
 
+const ImageSettingsTabContainer = styled.div`
+  width: 500px;
+`;
+
 const IdContainer = styled.div`
     background: #000000;  
     border-radius: 5px;