Skip to content

Commit 9fc302d

Browse files
committed
styles: default input width 100%, fieldColor is changed to fix width
1 parent b910b3d commit 9fc302d

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/fields/fieldColor.vue

+10-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@
1212

1313

1414
<style lang="sass">
15-
.vue-form-generator .field-color .helper {
16-
margin-left: 0.3em;
17-
}
15+
.vue-form-generator .field-color {
16+
17+
input {
18+
width: 60px;
19+
}
20+
21+
.helper {
22+
margin-left: 0.3em;
23+
}
24+
}
1825
</style>

src/formGenerator.vue

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
border-radius: 4px;
169169
border: 1px solid #BBB;
170170
padding: 2px 5px;
171+
width: 100%;
171172
}
172173
173174
span.help {

0 commit comments

Comments
 (0)