Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 64e6ff4

Browse files
committed
fix: page design issues
1 parent 25dd723 commit 64e6ff4

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

src/features/dashboard/components/AppForm/app-form.module.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ fieldset .customTextInput:last-child {
1111
display: flex;
1212
position: relative;
1313
box-sizing: border-box;
14-
margin: rem(1) 0;
1514
&:focus-within {
1615
border-color: var(--colors-blue400);
1716
border-radius: rem(1.6);
@@ -59,6 +58,12 @@ fieldset .customTextInput:last-child {
5958
}
6059
}
6160

61+
.helperMargin {
62+
margin: rem(1) 0;
63+
}
64+
.verificationMargin {
65+
margin: rem(2) 0;
66+
}
6267
.apps_form {
6368
display: flex;
6469
flex-direction: column;
@@ -96,6 +101,7 @@ fieldset .customTextInput:last-child {
96101
.helperText {
97102
width: 100%;
98103
padding-left: rem(1);
104+
padding-bottom: rem(1);
99105
color: var(--colors-greyLight600);
100106
margin-bottom: 0;
101107
}
@@ -165,5 +171,6 @@ fieldset .customTextInput:last-child {
165171
}
166172

167173
.termsOfConditionRegister {
168-
margin-left: rem(2);
174+
margin-left: rem(4);
175+
margin-top: rem(6);
169176
}

src/features/dashboard/components/AppForm/index.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ const AppForm = ({
121121
</div>
122122
</React.Fragment>
123123
)}
124-
<div className={styles.customTextInput} id='custom-text-input'>
124+
<div
125+
className={`${styles.helperMargin} ${styles.customTextInput}`}
126+
id='custom-text-input'
127+
>
125128
<input {...register('name')} type='text' id='app_name' placeholder=' ' />
126129
<label htmlFor='app_name'>App name (required)</label>
127130
</div>
@@ -211,7 +214,10 @@ const AppForm = ({
211214
</div>
212215

213216
<div>
214-
<div className={styles.customTextInput} id='custom-text-input'>
217+
<div
218+
className={`${styles.verificationMargin} ${styles.customTextInput}`}
219+
id='custom-text-input'
220+
>
215221
<input
216222
{...register('verification_uri')}
217223
id='app_verification_uri'

0 commit comments

Comments
 (0)