Skip to content

Commit

Permalink
fixup! adjust styling for checkbox field
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
  • Loading branch information
elzody committed Aug 16, 2024
1 parent 9b1eeab commit 8d5bab5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion apps/files/src/components/TemplateFiller.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export default defineComponent({
}
this.localFields[index][name] = value
console.log(this.localFields)
},
async submit() {
this.loading = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineComponent({
fieldLabel() {
const label = this.field.name ?? this.field.alias ?? 'Unknown field'
return (label.charAt(0).toUpperCase() + label.slice(1))
return label.charAt(0).toUpperCase() + label.slice(1)
},
fieldId() {
return 'checkbox-field' + this.field.index
Expand All @@ -55,10 +55,13 @@ export default defineComponent({

<style lang="scss" scoped>
.template-field__checkbox {
margin: 20px 0;
margin: 20px 0;
display: flex;
align-items: center;
label {
font-weight: bold;
}
label {
font-weight: bold;
flex-grow: 1;
}
}
</style>

0 comments on commit 8d5bab5

Please sign in to comment.