Force min-height to be applied when tab is created #5

This commit is contained in:
Marcos Moura 2016-10-16 23:02:58 -02:00
parent ebdb7e2cb2
commit 06bd8932bc

View file

@ -127,7 +127,7 @@
ref.style.left = this.$refs.tabContent.offsetWidth * index + 'px';
},
setVisibleTab(ref) {
this.$refs.tabContent.style.height = ref.offsetHeight + 'px';
this.$refs.tabContent.style.minHeight = ref.offsetHeight + 'px';
ref.classList.add('md-active');
},
changeTab(tabId) {