From 50bed3e0b041fef4bc433b7da25efc31d774c726 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Fri, 23 Aug 2024 10:28:54 -0700 Subject: [PATCH] Remove unnecessary `hasEmptyLabelSpace` prop within `EuiDescribedFormGroup`s - EuiDescribedFormGroups already automatically accounts for form rows without labels, so the `hasEmptyLabelSpace` prop is now unnecessary and adds extra unwanted spacing --- .../form_based/dimension_panel/format_selector.tsx | 1 - .../components/connection_mode.tsx | 2 +- .../components/connection_mode_cloud.tsx | 2 +- .../remote_cluster_form/remote_cluster_form.tsx | 1 - .../components/policy_form/_policy_form.scss | 10 ---------- .../include_feature_states_field.tsx | 2 +- .../include_global_state_field.tsx | 2 +- .../indices_and_data_streams_field.tsx | 2 +- .../policy_form/steps/step_settings/step_settings.tsx | 4 ++-- .../components/repository_form/step_one.tsx | 3 +-- .../repository_form/type_settings/azure_settings.tsx | 2 -- .../repository_form/type_settings/fs_settings.tsx | 2 -- .../repository_form/type_settings/gcs_settings.tsx | 2 -- .../repository_form/type_settings/hdfs_settings.tsx | 3 --- .../repository_form/type_settings/s3_settings.tsx | 3 --- .../restore_snapshot_form/_restore_snapshot_form.scss | 11 ----------- .../steps/step_logistics/step_logistics.tsx | 10 ++++------ .../restore_snapshot_form/steps/step_settings.tsx | 4 ++-- 18 files changed, 14 insertions(+), 52 deletions(-) diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.tsx b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.tsx index 08972b236240d..c94bf1e30bb2e 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.tsx @@ -366,7 +366,6 @@ export function FormatSelector(props: FormatSelectorProps) { = (props) => { id="xpack.remoteClusters.remoteClusterForm.sectionModeDescription" defaultMessage="Use seed nodes by default, or switch to proxy mode." /> - + = (props) => { id="xpack.remoteClusters.remoteClusterForm.sectionModeCloudDescription" defaultMessage="Configure how to connect to the remote cluster." /> - + { = ({ policy, on } fullWidth > - + = ({ policy, onUp } fullWidth > - + = ({ } fullWidth > - + {isManagedPolicy ? ( = ({ } fullWidth > - + = ({ } fullWidth > - + = ({ /> = ({ } fullWidth > - + = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = ({ fullWidth > = } fullWidth > - + = } fullWidth > - + = } fullWidth > - + = fullWidth > = fullWidth > = } fullWidth > - + = ( } fullWidth > - + = ( } fullWidth > - +