fix(docs): center copy icons and wrap full-width tables

This commit is contained in:
maoyingjie
2026-10-21 13:16:57 +08:00
parent 630963c652
commit 56b1ef11d8
4 changed files with 56 additions and 26 deletions
+3
View File
@@ -1,4 +1,5 @@
import type { Theme } from "vitepress";
import { IconCopy, IconCheck } from "@tabler/icons-vue";
import Layout from "./Layout.vue";
import Demo from "./Demo.vue";
import "@heroui-vue/styles/css";
@@ -8,5 +9,7 @@ export default {
Layout,
enhanceApp({ app }) {
app.component("ComponentPreview", Demo);
app.component("DocsCopyIcon", IconCopy);
app.component("DocsCheckIcon", IconCheck);
},
} satisfies Theme;