diff --git a/app/app.vue b/app/app.vue index dfe34d61..46d6ca88 100644 --- a/app/app.vue +++ b/app/app.vue @@ -20,7 +20,6 @@ useHead({ - diff --git a/app/components/pub/custom-ui/doc-entry/block.vue b/app/components/pub/custom-ui/doc-entry/block.vue index 9a1403b4..d97a6036 100644 --- a/app/components/pub/custom-ui/doc-entry/block.vue +++ b/app/components/pub/custom-ui/doc-entry/block.vue @@ -30,7 +30,7 @@ const getLabelSizeIdx = (size: string) => { const settingClass = computed(() => { const breakPointIdx = getBreakpointIdx(props.gridPoint) let cls = breakpoints[breakPointIdx] - cls += ' gap-4 xl:gap-5 ' + [ + cls += ' gap-x-4 xl:gap-x-5 gap-y-2 xl:gap-y-3 ' + [ 'grid-cols-1', 'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'grid-cols-5', 'grid-cols-6', 'grid-cols-7', 'grid-cols-8', 'grid-cols-9', 'grid-cols-10', ][props.colCount - 1] diff --git a/app/components/pub/custom-ui/nav-header/prep.vue b/app/components/pub/custom-ui/nav-header/prep.vue index 61b83af9..ee051cf4 100644 --- a/app/components/pub/custom-ui/nav-header/prep.vue +++ b/app/components/pub/custom-ui/nav-header/prep.vue @@ -23,21 +23,23 @@ function btnClick() { - - + + {{ props.prep.title }} - - - - - - + + - - + + {{ prep.addNav.label }} diff --git a/app/layouts/default.vue b/app/layouts/default.vue index c68136e9..3b4a774c 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -3,18 +3,18 @@ import CardContent from '~/components/pub/ui/card/CardContent.vue' const route = useRoute() const contentFrame = computed(() => route.meta.contentFrame) -const contentContent = computed(() => { +const contentFrameClass = computed(() => { switch (contentFrame.value) { case 'cf-container-lg': - return 'cf-frame cf-container-lg-content' + return 'cf-container-lg' case 'cf-container-md': - return 'cf-frame cf-container-md-content' + return 'cf-container-md' case 'cf-container-sm': - return 'cf-frame cf-container-sm-content' + return 'cf-container-sm' case 'cf-full-width': - return 'cf-frame-width' + return 'cf-full-width' default: - return 'cf-frame' + return 'cf-container-lg' } }) @@ -24,8 +24,8 @@ const contentContent = computed(() => { - - + + @@ -39,34 +39,13 @@ const contentContent = computed(() => { diff --git a/eslint.config.js b/eslint.config.js index 42a5d851..52229dc1 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -42,6 +42,7 @@ export default withNuxt( // Allow more flexible code style 'style/max-statements-per-line': ['error', { max: 3 }], 'antfu/if-newline': 'off', // Disable newline after if requirement + 'antfu/top-level-function': false, }, }, {