|
@@ -38,23 +38,23 @@ const ActionConfEditor: React.FC<Props> = (props) => {
|
|
|
|
|
|
|
|
if (!actionConfig.git_repo) {
|
|
if (!actionConfig.git_repo) {
|
|
|
return (
|
|
return (
|
|
|
- <ExpandedWrapper>
|
|
|
|
|
|
|
+ <ExpandedWrapperAlt>
|
|
|
<RepoList
|
|
<RepoList
|
|
|
actionConfig={actionConfig}
|
|
actionConfig={actionConfig}
|
|
|
setActionConfig={(x: ActionConfigType) => setActionConfig(x)}
|
|
setActionConfig={(x: ActionConfigType) => setActionConfig(x)}
|
|
|
readOnly={false}
|
|
readOnly={false}
|
|
|
/>
|
|
/>
|
|
|
- </ExpandedWrapper>
|
|
|
|
|
|
|
+ </ExpandedWrapperAlt>
|
|
|
);
|
|
);
|
|
|
} else if (!branch) {
|
|
} else if (!branch) {
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
- <ExpandedWrapperAlt>
|
|
|
|
|
|
|
+ <ExpandedWrapper>
|
|
|
<BranchList
|
|
<BranchList
|
|
|
actionConfig={actionConfig}
|
|
actionConfig={actionConfig}
|
|
|
setBranch={(branch: string) => setBranch(branch)}
|
|
setBranch={(branch: string) => setBranch(branch)}
|
|
|
/>
|
|
/>
|
|
|
- </ExpandedWrapperAlt>
|
|
|
|
|
|
|
+ </ExpandedWrapper>
|
|
|
<Br />
|
|
<Br />
|
|
|
<BackButton
|
|
<BackButton
|
|
|
width="135px"
|
|
width="135px"
|
|
@@ -178,7 +178,10 @@ const ExpandedWrapper = styled.div`
|
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
-const ExpandedWrapperAlt = styled(ExpandedWrapper)``;
|
|
|
|
|
|
|
+const ExpandedWrapperAlt = styled(ExpandedWrapper)`
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+`;
|
|
|
|
|
|
|
|
const BackButton = styled.div`
|
|
const BackButton = styled.div`
|
|
|
display: flex;
|
|
display: flex;
|