diff --git a/assets/css/main.css b/assets/css/main.css index f72794e..9ce8eed 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -108,3 +108,16 @@ .dark .leaflet-popup-tip { background: var(--nav-surface); } + +/* ── Rendu Markdown chatbot (useMarkdown composable) ────────────────────── */ +.md-content { font-size: inherit; line-height: 1.6; } +.md-content p { margin: 0 0 0.5em; } +.md-content p:last-child { margin-bottom: 0; } +.md-content strong, .md-h1, .md-h2, .md-h3 { font-weight: 700; } +.md-h2 { font-size: 0.9375em; display: block; margin-bottom: 0.25em; } +.md-h3 { font-size: 0.875em; display: block; } +.md-content em { font-style: italic; } +.md-list { margin: 0.375em 0 0.375em 1em; padding: 0; list-style: disc; } +.md-list li { margin-bottom: 0.2em; } +.md-link { text-decoration: underline; opacity: 0.85; } +.md-link:hover { opacity: 1; } diff --git a/components/ChatbotSheet.vue b/components/ChatbotSheet.vue index b92dc3f..85daaa9 100644 --- a/components/ChatbotSheet.vue +++ b/components/ChatbotSheet.vue @@ -92,7 +92,7 @@ employeur, besoin conseil juridique droit du travail,
-

{{ msg.content }}

+
@@ -164,6 +164,8 @@ employeur, besoin conseil juridique droit du travail,