From a076e2eaa5d63b903f520b7d4acf60e29c71bf23 Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Thu, 20 Feb 2025 18:36:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20:hammer:=20=E7=B2=BE=E7=AE=80=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E5=BF=AB=E6=8D=B7=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/codegen/index.vue | 2 +- uno.config.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/codegen/index.vue b/src/views/codegen/index.vue index 66809295..e24e19ff 100644 --- a/src/views/codegen/index.vue +++ b/src/views/codegen/index.vue @@ -362,7 +362,7 @@ -
+
diff --git a/uno.config.ts b/uno.config.ts index 4ea11316..e08e746f 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -30,17 +30,15 @@ const generateSafeList = () => { }; export default defineConfig({ + // 自定义快捷类 shortcuts: { + "wh-full": "w-full h-full", "flex-center": "flex justify-center items-center", "flex-x-center": "flex justify-center", "flex-y-center": "flex items-center", - "wh-full": "w-full h-full", "flex-x-start": "flex items-center justify-start", "flex-x-between": "flex items-center justify-between", "flex-x-end": "flex items-center justify-end", - "absolute-lt": "absolute left-0 top-0", - "absolute-rt": "absolute right-0 top-0 ", - "fixed-lt": "fixed left-0 top-0", }, theme: { colors: {