mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 01:14:23 +01:00
refactor
This commit is contained in:
parent
c84d1f4e80
commit
2d98905989
@ -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};
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user