From 4d58422421c454c82d3cfaf1132f14ebc02e6399 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 9 Nov 2022 10:51:58 -0800 Subject: [PATCH] dynamic height --- package.json | 2 +- .../src/components/MkTutorialDialog.vue | 77 ++++++++++++------- 2 files changed, 51 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 185fe38a4..8331dfb12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.10-b.6", + "version": "12.119.0-calc.10-b.7", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/MkTutorialDialog.vue b/packages/client/src/components/MkTutorialDialog.vue index cc0cc4a1c..c6017e152 100644 --- a/packages/client/src/components/MkTutorialDialog.vue +++ b/packages/client/src/components/MkTutorialDialog.vue @@ -2,7 +2,10 @@ @@ -61,31 +64,43 @@ {{ timelines.length }} - - - - - - - - - - - - - - - +

{{ i18n.ts._tutorial.step6_1 }}

@@ -153,6 +168,14 @@ const tutorial = computed({ set(value) { defaultStore.set('tutorial', value); }, }); +const filterSectionHeight = computed({ + get() { + const section = document.getElementsByClassName('tbkwesmv') as HTMLCollectionOf; + return section[0] ? section[0].offsetHeight : 0; + }, + set() {}, +}); + function close(res) { tutorial.value = -1; dialog.close(); @@ -162,7 +185,7 @@ function close(res) {