Skip to content

Commit

Permalink
remove bottom padding from table description
Browse files Browse the repository at this point in the history
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
  • Loading branch information
grnd-alt committed Mar 25, 2024
1 parent 132e5d7 commit 74e7a71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/modules/main/sections/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,3 @@ export default {
},
}
</script>
<style lang="scss" scoped>
.description__editor :deep(.ProseMirror) {
padding-bottom: 0;
}
</style>
6 changes: 5 additions & 1 deletion src/modules/main/sections/TableDescription.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default {
async saveDescription() {
if (this.descriptionLastEdited !== 0 || this.description === this.activeElement.description) return
this.descriptionSaving = true
await this.$store.dispatch('updateTableProperty', { id: this.table.id, data: { description }, property: 'description' })
await this.$store.dispatch('updateTableProperty', { id: this.activeElement.id, data: { description:this.description }, property: 'description' })

Check failure on line 104 in src/modules/main/sections/TableDescription.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Missing space before value for key 'description'
this.descriptionLastEdit = 0
this.descriptionSaving = false
},
Expand All @@ -122,6 +122,10 @@ export default {
<style lang="scss" scoped>
.description__editor :deep(.tiptap.ProseMirror){
padding-bottom: 0 !important;
}
.mode-switch{
width: 100%;
display: flex;
Expand Down

0 comments on commit 74e7a71

Please sign in to comment.