Skip to content

Commit

Permalink
#136 fixed class string/fixed font on textarea/select
Browse files Browse the repository at this point in the history
  • Loading branch information
smcgrath0 committed Aug 25, 2020
1 parent 9c24c09 commit 3862af1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fragments/form/hatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
f.bindEvent(formEl,'submit.prevent.stop','onSubmit')

const form = $.find('vue-form-generator').first()
f.bindAttribute(form,'class','w-full', false)
f.bindAttribute(form,'class','`w-full`', false)
f.bindAttribute(form,'model','formModel')
f.bindAttribute(form,'schema','schema')
f.bindAttribute(form,'options','formOptions')
Expand Down
2 changes: 1 addition & 1 deletion fragments/form/template.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'lg-button': model.submitsize === 'lg',
'full-button': model.submitsize === 'full',
}" v-on:submit.prevent.stop="onSubmit">
<vue-form-generator v-bind:class="w-full" v-bind:model="formModel" v-bind:schema="schema"
<vue-form-generator v-bind:class="`w-full`" v-bind:model="formModel" v-bind:schema="schema"
v-bind:options="formOptions"></vue-form-generator>
<input class="btn m-4 mt-0" type="submit" v-bind:value="model.submittext">
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'lg-button': model.submitsize === 'lg',
'full-button': model.submitsize === 'full',
}" v-on:submit.prevent.stop="onSubmit">
<vue-form-generator v-bind:class="w-full" v-bind:model="formModel" v-bind:schema="schema"
<vue-form-generator v-bind:class="`w-full`" v-bind:model="formModel" v-bind:schema="schema"
v-bind:options="formOptions"></vue-form-generator>
<input class="btn m-4 mt-0" type="submit" v-bind:value="model.submittext">
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,9 @@ video {

/* Base Overrides */

html {
html,
textarea,
select {
font-family: var(--font-sans);
font-size: var(--font-size-base);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

/* Base Overrides */

html {
html,
textarea,
select {
@apply font-sans text-base;
}

Expand Down

0 comments on commit 3862af1

Please sign in to comment.