aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-06-23 15:30:27 +1000
committerTerry Truong <terry06890@gmail.com>2022-06-23 15:30:27 +1000
commit47ec05706dec6c78aace3c5669b0c59d9ab03d8d (patch)
tree557ae0daca788e8ed55a1b85085a7983c38d897e /src
parentebc481e62a56168bdbcb31df0f97eddf262d346a (diff)
Fix tut-pane shrinkage when ancestry-bar is overflowing
Diffstat (limited to 'src')
-rw-r--r--src/App.vue3
1 files changed, 2 insertions, 1 deletions
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<string,string> {
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',
};
},