Skip to content

Commit da4f766

Browse files
committed
🆕 new: multiple fields in a row
1 parent 6dfb675 commit da4f766

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

dev/app.vue

+6
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,10 @@
238238
}
239239
}
240240
241+
.form-group {
242+
&.half-width {
243+
width: 50%;
244+
}
245+
}
246+
241247
</style>

src/formGenerator.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
159159
</script>
160160

161-
<style lang="sass" scoped>
161+
<style lang="sass">
162162
163163
$errorColor: lighten(#F00, 0%);
164164
@@ -249,6 +249,9 @@
249249
250250
251251
.form-group {
252+
display: inline-block;
253+
width: 100%;
254+
margin: 0.5rem 0.26rem;
252255
253256
label {
254257
font-weight: 400;

0 commit comments

Comments
 (0)