fix(assistant): #91 bulle utilisateur elargie (81% du fil) + ancrage de la question des l'envoi ; docs: feuille de route outils #92
CI / lint (push) Successful in 1m23s
CI / security (push) Successful in 58s
CI / test (push) Successful in 2m37s
CI / build (push) Successful in 51s
CI / e2e (push) Successful in 10m47s

This commit is contained in:
2026-09-15 19:34:05 -04:00
parent 0e9fcb78e0
commit 1ed0d52619
8 changed files with 182 additions and 9 deletions
+7 -3
View File
@@ -9440,8 +9440,11 @@ body.popup-mode .content-area {
.bookslm-messages { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex;
flex-direction: column; gap: 24px; }
.bookslm-msg { display: flex; flex-direction: column; gap: 4px; scroll-margin-top: 14px; }
.bookslm-msg.user { align-self: flex-end; max-width: 80%; }
.bookslm-msg.assistant { align-self: stretch; width: 100%; }
/* The user bubble is capped against the *thread* width, not against a
shrink-to-fit wrapper: capping both would compound (80% × 85% ≈ 68%) and
produced very short lines. Wrapper stretches, bubble carries the cap. */
.bookslm-msg.user { align-items: flex-end; }
.bookslm-msg.assistant { align-items: stretch; width: 100%; }
.bookslm-msg-meta { font-size: 11px; color: var(--text-secondary); opacity: 0.75;
padding: 0 2px; align-self: flex-start; user-select: none; }
/* Hover-revealed action bar (Copier / Ajouter). */
@@ -9456,7 +9459,8 @@ body.popup-mode .content-area {
.bookslm-msg-action:hover { background: var(--surface2); color: var(--text-primary);
border-color: var(--border); }
.bookslm-bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.bookslm-bubble.user { align-self: flex-end; background: var(--surface2); color: var(--text-primary); border-bottom-right-radius: 6px; }
.bookslm-bubble.user { align-self: flex-end; max-width: 90%; min-width: 0;
background: var(--surface2); color: var(--text-primary); border-bottom-right-radius: 6px; }
.bookslm-bubble.assistant { align-self: flex-start; background: transparent; padding: 0; width: 100%; max-width: 100%; color: var(--text-primary); }
.bookslm-bubble.assistant code { background: rgba(0,0,0,0.2); padding: 1px 4px; border-radius: 3px; font-size: 0.9em; }
.bookslm-bubble.assistant pre { background: rgba(0,0,0,0.3); padding: 10px; border-radius: 6px; overflow-x: auto; margin: 8px 0; }