From 2602280080e6e0f735898a7f01651af635f0edab Mon Sep 17 00:00:00 2001 From: upsiflu Date: Wed, 18 Dec 2024 16:51:16 +0100 Subject: [PATCH] chore(ui): simplify layout component, improve documentation --- front/src/components/ui/Layout.vue | 16 ++-- front/ui-docs/components/ui/layout.md | 106 ++++++++++++++------------ 2 files changed, 63 insertions(+), 59 deletions(-) diff --git a/front/src/components/ui/Layout.vue b/front/src/components/ui/Layout.vue index 354ef858c..4f5768c83 100644 --- a/front/src/components/ui/Layout.vue +++ b/front/src/components/ui/Layout.vue @@ -1,11 +1,8 @@ @@ -13,12 +10,12 @@ const columnWidth = props.columnWidth ?? 320 @@ -93,7 +90,6 @@ const columnWidth = props.columnWidth ?? 320 &.stack { display: flex; flex-direction: column; - height:100%; } &.flex { diff --git a/front/ui-docs/components/ui/layout.md b/front/ui-docs/components/ui/layout.md index 809dc8756..86ac5a929 100644 --- a/front/ui-docs/components/ui/layout.md +++ b/front/ui-docs/components/ui/layout.md @@ -1,4 +1,6 @@ - ``` @@ -294,16 +304,14 @@ const isGrowing = ref(true); --- -
- + A - + B1 B2 - + C (footer)
-