diff --git a/front/src/components/auth/LoginForm.vue b/front/src/components/auth/LoginForm.vue
index e8e766779..01427c85c 100644
--- a/front/src/components/auth/LoginForm.vue
+++ b/front/src/components/auth/LoginForm.vue
@@ -80,7 +80,7 @@ const submit = async () => {
-
+
diff --git a/front/src/components/auth/SignupForm.vue b/front/src/components/auth/SignupForm.vue
index b18f96516..014d4cc0a 100644
--- a/front/src/components/auth/SignupForm.vue
+++ b/front/src/components/auth/SignupForm.vue
@@ -106,7 +106,7 @@ fetchInstanceSettings()
:show-signup="false"
/>
-
+
diff --git a/front/src/components/ui/Button.vue b/front/src/components/ui/Button.vue
index 0d421aca8..8f567a1e7 100644
--- a/front/src/components/ui/Button.vue
+++ b/front/src/components/ui/Button.vue
@@ -107,12 +107,6 @@ onMounted(() => {
padding: 10px;
}
- // Margin
-
- &+.button {
- margin-left: 8px;
- }
-
border-radius: var(--fw-border-radius);
transform: translateX(var(--fw-translate-x)) translateY(var(--fw-translate-y)) scale(var(--fw-scale));
diff --git a/front/src/components/ui/Layout.vue b/front/src/components/ui/Layout.vue
index 1705b9768..b777a1af5 100644
--- a/front/src/components/ui/Layout.vue
+++ b/front/src/components/ui/Layout.vue
@@ -5,24 +5,26 @@ const props = defineProps<{
noRule?:true,
noWrap?:true
}
- & { [P in "stack" | "grid" | "flex" | "columns"]?: true | string }
- & { [C in "nav" | "aside" | "header" | "footer" | "main" | "label" | "h1" | "h2" | "h3" | "h4" | "h5"]?:true }>()
-const columnWidth = props.columnWidth ?? 46
+ & { [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 }>()
+
+ const columnWidth = props.columnWidth ?? 46
+
-
-
+
+
diff --git a/front/src/components/ui/input.scss b/front/src/components/ui/input.scss
index 0f4f2b1dc..4fb910b71 100644
--- a/front/src/components/ui/input.scss
+++ b/front/src/components/ui/input.scss
@@ -61,6 +61,7 @@
}
> .label {
+ margin-top: -18px;
padding-bottom: 8px;
font-size:14px;
font-weight:600;
diff --git a/front/src/views/auth/PasswordReset.vue b/front/src/views/auth/PasswordReset.vue
index 80c116501..32466d786 100644
--- a/front/src/views/auth/PasswordReset.vue
+++ b/front/src/views/auth/PasswordReset.vue
@@ -8,6 +8,7 @@ import { useRouter } from 'vue-router'
import Input from '~/components/ui/Input.vue'
import Button from '~/components/ui/Button.vue'
import Spacer from '~/components/ui/layout/Spacer.vue'
+import Layout from '~/components/ui/Layout.vue'
import axios from 'axios'
@@ -55,7 +56,7 @@ onMounted(() => emailInput.value.focus())
{{ t('views.auth.PasswordReset.header.reset') }}
-
+
+
+
+
+
+
diff --git a/front/ui-docs/components/ui/input.md b/front/ui-docs/components/ui/input.md
index dcaf35eb4..e50315d84 100644
--- a/front/ui-docs/components/ui/input.md
+++ b/front/ui-docs/components/ui/input.md
@@ -3,6 +3,7 @@ import Input from "~/components/ui/Input.vue"
import Button from "~/components/ui/Button.vue"
import Layout from "~/components/ui/Layout.vue"
import Spacer from "~/components/ui/layout/Spacer.vue"
+import Alert from "~/components/ui/Alert.vue"
# Input
@@ -90,54 +91,32 @@ You can add a template on the right-hand side of the input to guide the user's i
### Password
```vue-html
-
-
-
-
- User name
-
-
-
-
-
-
-
- Password
-
-
+
+
+
+
+
+
+
+
```
-
+
+
+
+
+
+
+
+
+
-
-
-
-
- User name
-
-
-
-
-
-
-
- Password
-
-
-
+::: tip
+
+We use the spacer to simulate the baseline alignment on page layouts (64px between sections)
+
+:::
## Fallthrough attributes