From 2d42b3a07c821c2b6e0e74d7351b634abff442ca Mon Sep 17 00:00:00 2001 From: upsiflu Date: Mon, 6 Jan 2025 15:00:25 +0100 Subject: [PATCH] refactor(ui): Section component has no space on top (needs gap) --- front/src/components/ui/Layout.vue | 2 +- front/src/components/ui/layout/Section.vue | 2 +- front/ui-docs/components/ui/layout/section.md | 48 ++++++++++++++++--- 3 files changed, 44 insertions(+), 8 deletions(-) diff --git a/front/src/components/ui/Layout.vue b/front/src/components/ui/Layout.vue index 0b2a49514..13923d6a8 100644 --- a/front/src/components/ui/Layout.vue +++ b/front/src/components/ui/Layout.vue @@ -10,7 +10,7 @@ const props = defineProps<{ noWrap?: true, } & { [P in "stack" | "grid" | "flex" | "columns" | "row" | "page"]?: true | string } & { [C in "nav" | "aside" | "header" | "footer" | "main" | "label" | "form" | "h1" | "h2" | "h3" | "h4" | "h5"]?: true } - & { [G in 'no-gap' | 'gap-4' | 'gap-8' | 'gap-16' | 'gap-12' | 'gap-auto' ]?: true } + & { [G in 'no-gap' | 'gap-4' | 'gap-8' | 'gap-12' | 'gap-16' | 'gap-64' | 'gap-auto' ]?: true } & (PastelProps | ColorProps | DefaultProps) & RaisedProps & VariantProps diff --git a/front/src/components/ui/layout/Section.vue b/front/src/components/ui/layout/Section.vue index 053174a31..4a4346ea9 100644 --- a/front/src/components/ui/layout/Section.vue +++ b/front/src/components/ui/layout/Section.vue @@ -27,7 +27,7 @@ const headerGrid =