Skip to content

Commit 5ad9c9b

Browse files
committed
#RI-2756 - Selecting Use SNI, checkbox is moved up
1 parent 009124c commit 5ad9c9b

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

redisinsight/ui/src/pages/home/components/AddInstanceForm/InstanceForm/InstanceForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ const AddStandaloneForm = (props: Props) => {
822822
/>
823823
</EuiFlexItem>
824824
{formik.values.sni && (
825-
<EuiFlexItem className={flexItemClassName} style={{ flexBasis: '255px' }}>
825+
<EuiFlexItem className={flexItemClassName} style={{ flexBasis: '255px', marginTop: 0 }}>
826826
<EuiFormRow label="Server Name*" style={{ paddingTop: 0 }}>
827827
<EuiFieldText
828828
name="servername"
@@ -940,7 +940,7 @@ const AddStandaloneForm = (props: Props) => {
940940
</EuiFlexGroup>
941941
)}
942942
{formik.values.tls && formik.values.tlsClientAuthRequired && (
943-
<div className="boxSection">
943+
<div className="boxSection" style={{ marginTop: 15 }}>
944944
<EuiFlexGroup className={flexGroupClassName}>
945945
<EuiFlexItem className={flexItemClassName}>
946946
<EuiFormRow label="Client Certificate*">

redisinsight/ui/src/pages/home/components/AddInstanceForm/InstanceForm/styles.module.scss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,9 @@
117117
:global(.euiFlexGroup--gutterLarge) > .dbInput {
118118
margin-top: 0 !important;
119119
margin-bottom: 0 !important;
120-
padding-bottom: 10px;
120+
padding-bottom: 20px;
121121

122122
&.dbInputBig{
123-
padding-bottom: 20px;
124123
max-width: calc(50% - 24px);
125124
}
126125
}
@@ -153,20 +152,17 @@
153152

154153
.tlsContainer {
155154
min-height: 90px;
156-
padding: 12px 0 15px;
155+
padding: 12px 0 10px;
157156
flex-wrap: wrap;
158157

159158
:global(.euiCheckbox) {
160159
padding-bottom: 10px !important;
161160
}
161+
162162
}
163163

164164
.tlsSniOpened {
165-
padding-top: 0 !important;
166-
167-
:global(.euiFlexItem) {
168-
margin-top: 0 !important;
169-
}
165+
padding-bottom: 0;
170166
}
171167

172168
.fullWidth {

redisinsight/ui/src/pages/home/styles.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@
318318
background-color: var(--euiColorLightestShade) !important;
319319
border: 1px solid var(--euiColorLightShade);
320320
border-radius: 4px;
321+
margin-top: 10px;
321322

322323
.euiSelect,
323324
.euiSuperSelectControl,

0 commit comments

Comments
 (0)