diff --git a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue index c2462a7b2..92db23eca 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Openc3Screen.vue @@ -308,10 +308,13 @@ export default { }, computedStyle() { let style = {} + // note down what the width was in case it was set to AUTO, because absolute positioning will lose that + const origWidth = this.width || this.$refs.bar?.clientWidth if (this.floated) { style['position'] = 'absolute' style['top'] = this.top + 'px' style['left'] = this.left + 'px' + style['width'] = origWidth + 'px' } return style },