mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 17:03:47 +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">
|
||||
|
@ -6,9 +6,9 @@ const StyledWrapper = styled.div`
|
||||
padding: 1rem;
|
||||
|
||||
button.btn-create-environment {
|
||||
&:hover {
|
||||
&:hover {
|
||||
span {
|
||||
text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user