chore: formatting
This commit is contained in:
parent
a9bbae27df
commit
1862d83f9f
1 changed files with 6 additions and 5 deletions
|
@ -331,10 +331,11 @@ async function startGroup(): void {
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (!isDesktop.value) {
|
if (!isDesktop.value) {
|
||||||
matchMedia(`(min-width: ${DESKTOP_THRESHOLD - 1}px)`).onchange = (mql) => {
|
matchMedia(`(min-width: ${DESKTOP_THRESHOLD - 1}px)`).onchange = (
|
||||||
if (mql.matches)
|
mql
|
||||||
isDesktop.value = true;
|
) => {
|
||||||
}
|
if (mql.matches) isDesktop.value = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -392,7 +393,7 @@ const attachSticky = (el: any) => {
|
||||||
} else {
|
} else {
|
||||||
widgetsEl.classList.add("hide-scrollbar");
|
widgetsEl.classList.add("hide-scrollbar");
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
function top() {
|
function top() {
|
||||||
|
|
Loading…
Reference in a new issue