Skip to content

Commit c35f234

Browse files
committed
Inconsistent calendar height fix (vuematerial#2206)
1 parent 7b1efd0 commit c35f234

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/MdDatepicker/MdDatepickerDialog.vue

+1-3
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,8 @@
268268
const months = getElements(this.$el, '.md-datepicker-month')
269269
270270
if (months.length) {
271-
const nextMonth = months[months.length - 1]
272-
273271
this.contentStyles = {
274-
height: nextMonth.offsetHeight + 10 + 'px'
272+
height: '264px'
275273
}
276274
}
277275
},

0 commit comments

Comments
 (0)