From 3db2347bfb466367576d2c615d2e7dfa65c2d120 Mon Sep 17 00:00:00 2001 From: Sakana <15715093608@163.com> Date: Thu, 3 Sep 2026 16:06:53 +0800 Subject: [PATCH] fix(code-server): make launcher scrollable --- .../code-server/app/components/LauncherView.stories.ts | 10 ++++++++++ plugins/code-server/app/components/LauncherView.vue | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/plugins/code-server/app/components/LauncherView.stories.ts b/plugins/code-server/app/components/LauncherView.stories.ts index 13ee9d8f..5cedf35b 100644 --- a/plugins/code-server/app/components/LauncherView.stories.ts +++ b/plugins/code-server/app/components/LauncherView.stories.ts @@ -46,6 +46,16 @@ export const NotInstalled: Story = { }, } +/** Short dock panel with install instructions available through scrolling. */ +export const NotInstalledShortPanel: Story = { + args: NotInstalled.args, + render: args => ({ + components: { LauncherView }, + setup: () => ({ args }), + template: '
', + }), +} + /** Installed and idle, showing the launch screen (code-server backend). */ export const Launch: Story = { args: { diff --git a/plugins/code-server/app/components/LauncherView.vue b/plugins/code-server/app/components/LauncherView.vue index 20a96790..2baccc5d 100644 --- a/plugins/code-server/app/components/LauncherView.vue +++ b/plugins/code-server/app/components/LauncherView.vue @@ -46,8 +46,8 @@ const errorText = computed(() => (props.server.status === 'error' ? props.server