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",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.10-b.8",
|
"version": "12.119.0-calc.10-b.9",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -90,6 +90,7 @@ defineExpose({
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
contain: content;
|
contain: content;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
|
transition: all 0.2s;
|
||||||
|
|
||||||
--root-margin: 24px;
|
--root-margin: 24px;
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
<XModalWindow
|
<XModalWindow
|
||||||
ref="dialog"
|
ref="dialog"
|
||||||
:width="800"
|
:width="800"
|
||||||
:style="{
|
|
||||||
'max-height': `calc(100% - ${filterSectionHeight}px)`
|
|
||||||
}"
|
|
||||||
@close="dialog.close()"
|
@close="dialog.close()"
|
||||||
@closed="$emit('closed')"
|
@closed="$emit('closed')"
|
||||||
>
|
>
|
||||||
|
@ -167,14 +164,6 @@ const tutorial = computed({
|
||||||
set(value) { defaultStore.set('tutorial', value); },
|
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) {
|
function close(res) {
|
||||||
tutorial.value = -1;
|
tutorial.value = -1;
|
||||||
dialog.close();
|
dialog.close();
|
||||||
|
|
Loading…
Reference in a new issue