From aea007917cf2788c8b48ddb164179e8bee7739f1 Mon Sep 17 00:00:00 2001 From: Dongsheng Zhao Date: Mon, 22 Jul 2024 11:23:04 +0800 Subject: [PATCH] docs: fix styles --- packages/docs/package.json | 2 +- .../flex-and-grid/FlexPlayground.svelte | 15 +++----------- .../flex-and-grid/GridPlayground.svelte | 4 ++-- packages/ui/package.json | 3 ++- pnpm-lock.yaml | 20 +++++++++---------- 5 files changed, 18 insertions(+), 26 deletions(-) diff --git a/packages/docs/package.json b/packages/docs/package.json index 525b1d1..a361a3a 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -17,7 +17,7 @@ "@sveltejs/adapter-static": "^3.0.2", "@sveltejs/kit": "^2.5.18", "@sveltejs/vite-plugin-svelte": "^3.1.1", - "@sveltepress/theme-default": "^2.0.4", + "@sveltepress/theme-default": "^2.0.6", "@sveltepress/vite": "^0.33.2", "@types/node": "^20.4.5", "sass": "^1.64.1", diff --git a/packages/docs/src/routes/features/global-css-utils/flex-and-grid/FlexPlayground.svelte b/packages/docs/src/routes/features/global-css-utils/flex-and-grid/FlexPlayground.svelte index ff2f317..aecab29 100644 --- a/packages/docs/src/routes/features/global-css-utils/flex-and-grid/FlexPlayground.svelte +++ b/packages/docs/src/routes/features/global-css-utils/flex-and-grid/FlexPlayground.svelte @@ -48,9 +48,9 @@
-
1
-
2
-
3
+
1
+
2
+
3
@@ -58,13 +58,4 @@ .item { --at-apply: 'bg-svp-primary text-white text-center flex items-center justify-center bg-clip-content'; } - .item:nth-child(1) { - --at-apply: 'h-[60px]'; - } - .item:nth-child(2) { - --at-apply: 'h-[120px]'; - } - .item:nth-child(3) { - --at-apply: 'h-[90px]'; - } diff --git a/packages/docs/src/routes/features/global-css-utils/flex-and-grid/GridPlayground.svelte b/packages/docs/src/routes/features/global-css-utils/flex-and-grid/GridPlayground.svelte index 84c51dc..cecb2bf 100644 --- a/packages/docs/src/routes/features/global-css-utils/flex-and-grid/GridPlayground.svelte +++ b/packages/docs/src/routes/features/global-css-utils/flex-and-grid/GridPlayground.svelte @@ -61,14 +61,14 @@
{#each activeItems as item, i (item)}