Skip to content

Commit

Permalink
Default value for container height
Browse files Browse the repository at this point in the history
  • Loading branch information
falkodev committed Aug 25, 2023
1 parent 3cfdb1f commit e428d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/apos/components/AposExportModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export default {
}
});
this.checkedRelatedTypes = this.relatedTypes;
const height = this.checkedRelatedTypes.length * 24 + 95;
const height = this.checkedRelatedTypes.length ? this.checkedRelatedTypes.length * 24 + 95 : 120;
document.documentElement.style.setProperty('--container-height', `${height}px`);
}
},
Expand Down

0 comments on commit e428d6f

Please sign in to comment.