Skip to content

Commit 641a286

Browse files
committed
Fix comments
1 parent 1ccceab commit 641a286

File tree

3 files changed

+33
-5
lines changed

3 files changed

+33
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function Fields({
109109
)}
110110
</Control>
111111
<Control text='Project Metadata'>
112-
<div className="control control-inline">
112+
<div className="control-row">
113113
<FieldInput
114114
id='input-group'
115115
value={get(values, 'meta.group')}

start-client/src/styles/_main.scss

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ hr.divider {
278278
// Control
279279

280280
.control {
281-
padding: 0.45rem 0;
281+
padding: 0.6rem 0;
282282
.label {
283283
font-weight: 600;
284284
font-size: $spring-font-size + 2;
@@ -302,7 +302,20 @@ hr.divider {
302302
input {
303303
color: $light-color;
304304
background: $light-background;
305-
max-width: 520px;
305+
max-width: 550px;
306+
}
307+
}
308+
.control-row{
309+
display: flex;
310+
.control-inline{
311+
max-width: 340px;
312+
flex: 1 1 0;
313+
}
314+
.control-inline:nth-child(2) label {
315+
flex: 70px 0;
316+
}
317+
input{
318+
max-width: 250px;
306319
}
307320
}
308321

@@ -572,7 +585,7 @@ button.button {
572585
left: 75px;
573586
.actions-container {
574587
background: $light-background-seconday;
575-
padding: 20px 0.5rem;
588+
padding: 18px 0.5rem;
576589
margin: 0 auto;
577590
max-width: $spring-max-width - (82 * 2);
578591
height: 50px;

start-client/src/styles/_responsive.scss

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,18 @@
8080
.placeholder-button-download {
8181
width: 144.13px;
8282
}
83+
.control-row {
84+
display: block;
85+
.control-inline{
86+
max-width: none;
87+
}
88+
.control-inline:nth-child(2) label,label{
89+
flex: 110px 0 ;
90+
}
91+
input {
92+
max-width: 520px;
93+
}
94+
}
8395
}
8496

8597
.not-mobile {
@@ -278,7 +290,7 @@
278290
hr.divider {
279291
display: none;
280292
}
281-
.control-inline,
293+
.control-inline,.control-row,
282294
.control-placeholder {
283295
display: block;
284296
label,
@@ -292,4 +304,7 @@
292304
margin-left: 0;
293305
}
294306
}
307+
.control-row{
308+
.control-inline{max-width: none;}
309+
}
295310
}

0 commit comments

Comments
 (0)