Skip to content

Commit 7ebd225

Browse files
authored
Merge pull request #180 from cristijora/style-improvements
Support bootstrap columns on fields
2 parents 4f2cabe + fc2d47a commit 7ebd225

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/vfg.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/formGenerator.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,9 @@ div
285285
.form-control {
286286
// Default Bootstrap .form-control style
287287
display: block;
288-
width: 100%;
288+
&:not([class*=" col-"]){
289+
width: 100%;
290+
}
289291
padding: 6px 12px;
290292
font-size: 14px;
291293
line-height: 1.42857143;

0 commit comments

Comments
 (0)