mirror of
https://github.com/nasa/openmct.git
synced 2025-02-06 11:09:21 +00:00
Pane refactor styles WIP
- WIP converting from width/height to flex-basis;
This commit is contained in:
parent
3e71204529
commit
b65cca277e
@ -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 () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user