mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-10 00:06:12 +00:00
Force min-height to be applied when tab is created #5
This commit is contained in:
parent
ebdb7e2cb2
commit
06bd8932bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue