Skip to content

Commit

Permalink
styles: default input width 100%, fieldColor is changed to fix width
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Aug 9, 2016
1 parent b910b3d commit 9fc302d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/fields/fieldColor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@


<style lang="sass">
.vue-form-generator .field-color .helper {
margin-left: 0.3em;
}
.vue-form-generator .field-color {
input {
width: 60px;
}
.helper {
margin-left: 0.3em;
}
}
</style>
1 change: 1 addition & 0 deletions src/formGenerator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
border-radius: 4px;
border: 1px solid #BBB;
padding: 2px 5px;
width: 100%;
}
span.help {
Expand Down

0 comments on commit 9fc302d

Please sign in to comment.