From c1e75abc581bf685c9118424074afa470584ff2c Mon Sep 17 00:00:00 2001 From: Simon Mellerin <simon.mellerin@makina-corpus.com> Date: Thu, 21 Nov 2024 17:25:29 +0100 Subject: [PATCH] #72 - Add about page + handle markdown --- src/pages/about.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/about.vue b/src/pages/about.vue index eb5c98b..87de2f2 100644 --- a/src/pages/about.vue +++ b/src/pages/about.vue @@ -6,7 +6,7 @@ <div class="container mx-auto mt-8 p-8 bg-slate-100"> <h1 class="text-xl font-bold mb-8">{{ t('about.title') }}</h1> - <div v-html="content" /> + <div class="content" v-html="content" /> </div> </OcLayoutSimple> </template> @@ -47,11 +47,11 @@ const breadcrumbItems = computed<OcBreadcrumbItem[]>(() => [ </script> <style lang="css" scoped> -:deep(p) { +:deep(.content p) { @apply mb-2; } -:deep(a) { +:deep(.content a) { @apply underline; } </style> -- GitLab