diff --git a/components/ChatbotSheet.vue b/components/ChatbotSheet.vue index 065e706..94ea6a1 100644 --- a/components/ChatbotSheet.vue +++ b/components/ChatbotSheet.vue @@ -69,20 +69,18 @@
-

+

@@ -329,7 +327,17 @@ function scrollToBottom() { line-height: 1.6; color: var(--nav-text); } -.assistant-bubble p { margin: 0; } +.assistant-bubble > p { margin: 0; } + +/* Markdown rendu via v-html — :deep() perce le scoped */ +:deep(.md-content) { font-size: inherit; line-height: 1.6; } +:deep(.md-content p) { margin: 0 0 0.4em; } +:deep(.md-content p:last-child) { margin-bottom: 0; } +:deep(.md-content strong) { font-weight: 700; } +:deep(.md-content em) { font-style: italic; } +:deep(.md-content ul) { margin: 0.3em 0 0.3em 1.1em; list-style: disc; padding: 0; } +:deep(.md-content li) { margin-bottom: 0.15em; } +:deep(.md-content a) { text-decoration: underline; opacity: 0.8; } /* Fiches recommandées */ .fiches-list {