From b03a43a04cdf79bcf806e56ed3a77391ba099ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20H=C3=B6lting?= <87192362+moritz-hoelting@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:53:28 +0000 Subject: [PATCH] change SplitView to vertical on mobile --- README.md | 12 ++++++------ package.json | 3 ++- src/components/SplitView.astro | 16 ++++++++++++---- src/content/docs/differences.mdx | 14 +++++++------- 4 files changed, 27 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index f8cd85c..3333f01 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ All commands are run from the root of the project, from a terminal: | Command | Action | | :------------------------ | :----------------------------------------------- | -| `npm install` | Installs dependencies | -| `npm run dev` | Starts local dev server at `localhost:4321` | -| `npm run build` | Build your production site to `./dist/` | -| `npm run preview` | Preview your build locally, before deploying | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | -| `npm run astro -- --help` | Get help using the Astro CLI | \ No newline at end of file +| `pnpm install` | Installs dependencies | +| `pnpm run dev` | Starts local dev server at `localhost:4321` | +| `pnpm run build` | Build your production site to `./dist/` | +| `pnpm run preview` | Preview your build locally, before deploying | +| `pnpm run astro ...` | Run CLI commands like `astro add`, `astro check` | +| `pnpm run astro -- --help` | Get help using the Astro CLI | \ No newline at end of file diff --git a/package.json b/package.json index 2b3c24e..bd5fea0 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,6 @@ "shiki": "^1.14.1", "starlight-links-validator": "^0.10.1", "typescript": "^5.4.5" - } + }, + "packageManager": "pnpm@9.7.0+" } \ No newline at end of file diff --git a/src/components/SplitView.astro b/src/components/SplitView.astro index 7331c6b..0f9600e 100644 --- a/src/components/SplitView.astro +++ b/src/components/SplitView.astro @@ -6,18 +6,26 @@ const { gap = "0px" } = Astro.props; ---