From 47ec05706dec6c78aace3c5669b0c59d9ab03d8d Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Thu, 23 Jun 2022 15:30:27 +1000 Subject: Fix tut-pane shrinkage when ancestry-bar is overflowing --- src/App.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index d5c94e1..d0d9a86 100644 --- a/src/App.vue +++ b/src/App.vue @@ -153,9 +153,10 @@ export default defineComponent({ }, tutPaneContainerStyles(): Record { return { + minHeight: (this.tutorialOpen ? this.uiOpts.tutorialPaneSz : 0) + 'px', maxHeight: (this.tutorialOpen ? this.uiOpts.tutorialPaneSz : 0) + 'px', transitionDuration: this.uiOpts.tileChgDuration + 'ms', - transitionProperty: 'max-height', + transitionProperty: 'max-height, min-height', overflow: 'hidden', }; }, -- cgit v1.2.3