diff --git a/src/plugins/conditionWidget/components/condition-widget.scss b/src/plugins/conditionWidget/components/condition-widget.scss index c5b1f64e37..8f9adec746 100644 --- a/src/plugins/conditionWidget/components/condition-widget.scss +++ b/src/plugins/conditionWidget/components/condition-widget.scss @@ -56,7 +56,7 @@ a.c-condition-widget { } // When the widget is in the main view, center it in the space -.l-shell__main-container > .c-condition-widget { +.l-shell__main-container > * > .c-condition-widget { position: absolute; top: 50%; left: 50%; diff --git a/src/ui/components/ObjectView.vue b/src/ui/components/ObjectView.vue index b57faa4af5..50420c2bc1 100644 --- a/src/ui/components/ObjectView.vue +++ b/src/ui/components/ObjectView.vue @@ -9,7 +9,7 @@ />
@@ -64,13 +64,6 @@ export default { }, font() { return this.objectFontStyle ? this.objectFontStyle.font : this.layoutFont; - }, - objectViewStyle() { - if (this.domainObject && this.domainObject.type === 'time-strip') { - return 'l-shell__main-object-view'; - } else { - return 'u-contents'; - } } }, destroyed() { diff --git a/src/ui/layout/layout.scss b/src/ui/layout/layout.scss index a9d7088ed1..f3568d0057 100644 --- a/src/ui/layout/layout.scss +++ b/src/ui/layout/layout.scss @@ -233,7 +233,6 @@ /******************************* MAIN AREA */ &__main-container { // Wrapper for main views - //display: flex; NEEDS REGRESSION TESTING!!! display: flex; flex-direction: column; flex: 1 1 auto !important; @@ -243,11 +242,11 @@ > * + * { margin-top: $interiorMargin; } - } - &__main-object-view { - flex: 1 1 auto; - overflow: auto; + > .c-object-view { + flex: 1 1 auto; + overflow: auto; + } } &__tree { @@ -317,6 +316,12 @@ } } +.c-object-view { + display: block; + height: 100%; + overflow: auto; +} + .is-editing { .l-shell__main-container { $m: 3px;