From 2d989059893cb8db424deb650dd614c4e4e9cc7a Mon Sep 17 00:00:00 2001 From: mh337km Date: Sat, 26 Oct 2024 10:48:40 +0200 Subject: [PATCH] refactor --- .../EnvironmentSettings/EnvironmentList/StyledWrapper.js | 1 + .../Environments/EnvironmentSettings/EnvironmentList/index.js | 4 ++-- .../Environments/EnvironmentSettings/StyledWrapper.js | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/StyledWrapper.js b/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/StyledWrapper.js index fd2123c7a9..51dcb23fda 100644 --- a/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/StyledWrapper.js +++ b/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/StyledWrapper.js @@ -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}; diff --git a/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/index.js b/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/index.js index 8a0c778309..b574f1171f 100644 --- a/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/index.js +++ b/packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/index.js @@ -87,12 +87,12 @@ const EnvironmentList = ({ selectedEnvironment, setSelectedEnvironment, collecti }; return ( - + {openCreateModal && setOpenCreateModal(false)} />} {openImportModal && setOpenImportModal(false)} />} {openManageSecretsModal && setOpenManageSecretsModal(false)} />} -
+
{switchEnvConfirmClose && (
diff --git a/packages/bruno-app/src/components/Environments/EnvironmentSettings/StyledWrapper.js b/packages/bruno-app/src/components/Environments/EnvironmentSettings/StyledWrapper.js index 63843492c3..26f17782a9 100644 --- a/packages/bruno-app/src/components/Environments/EnvironmentSettings/StyledWrapper.js +++ b/packages/bruno-app/src/components/Environments/EnvironmentSettings/StyledWrapper.js @@ -6,9 +6,9 @@ const StyledWrapper = styled.div` padding: 1rem; button.btn-create-environment { - &:hover { + &:hover { span { - text-decoration: underline; + text-decoration: underline; } } }