diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 8fdd954d..00000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -22 \ No newline at end of file diff --git a/.stackblitz/codeflow.json b/.stackblitz/codeflow.json deleted file mode 100644 index 21acb9d4..00000000 --- a/.stackblitz/codeflow.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "bot": { - "issues": { - "trigger": "all-issues" - } - } -} diff --git a/.stackblitzrc b/.stackblitzrc deleted file mode 100644 index fdb11220..00000000 --- a/.stackblitzrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "installDependencies": true, - "startCommand": "npm run dev:mocked" -} diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 00000000..f894bd28 --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,7 @@ +{ + "formatter": { + "code_actions": { + "source.fixAll.eslint": true + } + } +} diff --git a/app/components/main/MainContent.vue b/app/components/main/MainContent.vue index 8f45d773..47beb6c6 100644 --- a/app/components/main/MainContent.vue +++ b/app/components/main/MainContent.vue @@ -17,8 +17,13 @@ const wideLayout = computed(() => route.meta.wideLayout ?? false) const sticky = computed(() => route.path?.startsWith('/settings/')) const containerClass = computed(() => { // we keep original behavior when not in settings page and when the window height is smaller than the container height - if (!isHydrated.value || !sticky.value || (windowHeight.value < containerHeight.value)) + if ( + !isHydrated.value + || !sticky.value + || windowHeight.value < containerHeight.value + ) { return null + } return 'lg:sticky lg:top-0' }) @@ -27,24 +32,54 @@ const containerClass = computed(() => {