fix
This commit is contained in:
parent
ee09619f78
commit
1b7041210a
3 changed files with 2 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "calckey",
|
||||
"version": "12.119.0-calc.10-b.8",
|
||||
"version": "12.119.0-calc.10-b.9",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -90,6 +90,7 @@ defineExpose({
|
|||
flex-direction: column;
|
||||
contain: content;
|
||||
border-radius: var(--radius);
|
||||
transition: all 0.2s;
|
||||
|
||||
--root-margin: 24px;
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
<XModalWindow
|
||||
ref="dialog"
|
||||
:width="800"
|
||||
:style="{
|
||||
'max-height': `calc(100% - ${filterSectionHeight}px)`
|
||||
}"
|
||||
@close="dialog.close()"
|
||||
@closed="$emit('closed')"
|
||||
>
|
||||
|
@ -167,14 +164,6 @@ const tutorial = computed({
|
|||
set(value) { defaultStore.set('tutorial', value); },
|
||||
});
|
||||
|
||||
const filterSectionHeight = computed({
|
||||
get() {
|
||||
const section = document.getElementsByClassName('tbkwesmv') as HTMLCollectionOf<HTMLElement>;
|
||||
return section[0] ? section[0].offsetHeight : 0;
|
||||
},
|
||||
set() {},
|
||||
});
|
||||
|
||||
function close(res) {
|
||||
tutorial.value = -1;
|
||||
dialog.close();
|
||||
|
|
Loading…
Reference in a new issue