Skip to content

Commit 70c4870

Browse files
committed
moved groupId and artifactId in one row
Signed-off-by: Sri Kumar <[email protected]>
1 parent 671c0a8 commit 70c4870

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

start-client/src/components/common/builder/Fields.js

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -109,22 +109,24 @@ function Fields({
109109
)}
110110
</Control>
111111
<Control text='Project Metadata'>
112-
<FieldInput
113-
id='input-group'
114-
value={get(values, 'meta.group')}
115-
text='Group'
116-
onChange={event => {
117-
update({ meta: { group: event.target.value } })
118-
}}
119-
/>
120-
<FieldInput
121-
id='input-artifact'
122-
value={get(values, 'meta.artifact')}
123-
text='Artifact'
124-
onChange={event => {
125-
update({ meta: { artifact: event.target.value } })
126-
}}
127-
/>
112+
<div className="control control-inline">
113+
<FieldInput
114+
id='input-group'
115+
value={get(values, 'meta.group')}
116+
text='Group'
117+
onChange={event => {
118+
update({ meta: { group: event.target.value } })
119+
}}
120+
/>
121+
<FieldInput
122+
id='input-artifact'
123+
value={get(values, 'meta.artifact')}
124+
text='Artifact'
125+
onChange={event => {
126+
update({ meta: { artifact: event.target.value } })
127+
}}
128+
/>
129+
</div>
128130
<FieldInput
129131
id='input-name'
130132
value={get(values, 'meta.name')}

start-client/src/styles/_main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ hr.divider {
278278
// Control
279279

280280
.control {
281-
padding: 0.6rem 0;
281+
padding: 0.45rem 0;
282282
.label {
283283
font-weight: 600;
284284
font-size: $spring-font-size + 2;

0 commit comments

Comments
 (0)