@@ -18,7 +18,7 @@ import { RegistrationDataEntry } from './RegistrationDataEntry/RegistrationDataE
18
18
19
19
const getStyles = ( { typography } ) => ( {
20
20
container : {
21
- padding : '10px 24px 16px 24px' ,
21
+ padding : '8px 24px 16px 24px' ,
22
22
} ,
23
23
paper : {
24
24
marginBottom : typography . pxToRem ( 10 ) ,
@@ -28,9 +28,18 @@ const getStyles = ({ typography }) => ({
28
28
maxWidth : typography . pxToRem ( 950 ) ,
29
29
} ,
30
30
title : {
31
- padding : '10px 0 0px 10px ' ,
31
+ padding : '8px 0 0px 8px ' ,
32
32
fontWeight : 500 ,
33
- marginBottom : typography . pxToRem ( 16 ) ,
33
+ } ,
34
+ tetypeContainer : {
35
+ marginTop : typography . pxToRem ( 16 ) ,
36
+ } ,
37
+ registrationContainer : {
38
+ marginLeft : typography . pxToRem ( 8 ) ,
39
+ marginRight : typography . pxToRem ( 8 ) ,
40
+ } ,
41
+ selectorTopMargin : {
42
+ margin : typography . pxToRem ( 16 ) ,
34
43
} ,
35
44
emptySelectionPaperContent : {
36
45
display : 'flex' ,
@@ -89,12 +98,16 @@ const NewPagePlain = ({
89
98
</ div >
90
99
{
91
100
( ! scopeType || scopeType === scopeTypes . TRACKED_ENTITY_TYPE ) &&
92
- < TrackedEntityTypeSelector onSelect = { handleRegistrationScopeSelection } />
101
+ < div className = { classes . tetypeContainer } >
102
+ < TrackedEntityTypeSelector onSelect = { handleRegistrationScopeSelection } />
103
+ </ div >
93
104
}
94
- < RegistrationDataEntry
95
- dataEntryId = { NEW_TEI_DATA_ENTRY_ID }
96
- selectedScopeId = { selectedScopeId }
97
- />
105
+ < div className = { classes . registrationContainer } >
106
+ < RegistrationDataEntry
107
+ dataEntryId = { NEW_TEI_DATA_ENTRY_ID }
108
+ selectedScopeId = { selectedScopeId }
109
+ />
110
+ </ div >
98
111
</ div >
99
112
</ Paper >
100
113
}
0 commit comments