mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
fix
This commit is contained in:
parent
af6a43378b
commit
578349e11a
@ -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 New Issue
Block a user