diff --git a/app.vue b/app.vue index 2ed14e6..766b302 100644 --- a/app.vue +++ b/app.vue @@ -13,7 +13,7 @@ const { id: project, home, get } = useProject(); if(project.value !== 0 && home.value === null) { - const { data: useless } = await useAsyncData(`project:get:${project}`, get); + await useAsyncData(`project:get:${project}`, get); } const toggled = ref(false); @@ -50,8 +50,8 @@ onMounted(() => { Liste des projets - Outils + Editeur
diff --git a/assets/common.css b/assets/common.css index 00fb60e..f2a60bf 100644 --- a/assets/common.css +++ b/assets/common.css @@ -227,7 +227,7 @@ html.light-mode .light-block { padding: 4px 1em; } -.input-group .input-error { +.input-error { padding: .5em 1em 4px; color: var(--text-error); user-select: text; diff --git a/assets/global.css b/assets/global.css index 4c26d86..404a23a 100644 --- a/assets/global.css +++ b/assets/global.css @@ -342,7 +342,7 @@ --inline-title-margin-bottom: 0.5em; /* Inputs */ --input-height: 30px; - --input-radius: 5px; + --input-radius: 0px; --input-font-weight: var(--font-normal); --input-border-width: 1px; /* Italic */ diff --git a/bun.lockb b/bun.lockb index d1d9a4e..3db123e 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/EditableMarkdown.vue b/components/EditableMarkdown.vue new file mode 100644 index 0000000..f558e65 --- /dev/null +++ b/components/EditableMarkdown.vue @@ -0,0 +1,105 @@ + + + + + \ No newline at end of file diff --git a/components/Input.vue b/components/Input.vue index 321d562..9c629e1 100644 --- a/components/Input.vue +++ b/components/Input.vue @@ -8,6 +8,8 @@ const props = defineProps(); const model = defineModel(); const err = ref(props.error); + +watchEffect(() => err.value = props.error);