Pane refactor styles WIP

- WIP converting from width/height to flex-basis;
This commit is contained in:
charlesh88 2018-08-22 17:54:34 -07:00
parent 3e71204529
commit b65cca277e

View File

@ -474,11 +474,12 @@ export default {
}, },
beforeMount() { beforeMount() {
this.type = this.$parent.type; this.type = this.$parent.type;
if (this.type === 'horizontal') { this.styleProp = 'flex-basis';
/* if (this.type === 'horizontal') {
this.styleProp = 'width'; this.styleProp = 'width';
} else { } else {
this.styleProp = 'height'; this.styleProp = 'height';
} }*/
}, },
methods: { methods: {
toggleCollapse: function () { toggleCollapse: function () {