Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mh337km committed Oct 26, 2024
1 parent c84d1f4 commit 2d98905
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const StyledWrapper = styled.div`
width: 100%;
height: 100%;
display: flex;
padding: 0.25rem;
.environment-list-divider {
border-right: 1px solid ${(props) => props.theme.requestTabs.bottomBorder};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ const EnvironmentList = ({ selectedEnvironment, setSelectedEnvironment, collecti
};

return (
<StyledWrapper className="p-1">
<StyledWrapper>
{openCreateModal && <CreateEnvironment collection={collection} onClose={() => setOpenCreateModal(false)} />}
{openImportModal && <ImportEnvironment collection={collection} onClose={() => setOpenImportModal(false)} />}
{openManageSecretsModal && <ManageSecrets onClose={() => setOpenManageSecretsModal(false)} />}

<div className="flex h-full">
<div className="flex">
<div className="environment-list-divider">
{switchEnvConfirmClose && (
<div className="flex items-center justify-between tab-container px-1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const StyledWrapper = styled.div`
padding: 1rem;
button.btn-create-environment {
&:hover {
&:hover {
span {
text-decoration: underline;
text-decoration: underline;
}
}
}
Expand Down

0 comments on commit 2d98905

Please sign in to comment.