Skip to content

Commit

Permalink
Refactor #1750
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Nov 17, 2021
1 parent d31f7b8 commit c59be4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,10 @@ export default {
if (!this.$attrs.disabled) {
this.initFocusableCell();
this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px';
if (this.numberOfMonths === 1) {
this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px';
}
}
}
},
Expand Down

0 comments on commit c59be4f

Please sign in to comment.