fix(assistant): #91 question positionnee au bord haut de la fenetre (padding dynamique, overflow-anchor, passe de correction)
This commit is contained in:
+5
-3
@@ -9436,10 +9436,12 @@ body.popup-mode .content-area {
|
||||
@keyframes bookslm-spin { to { transform: rotate(360deg); } }
|
||||
/* Notion-style AI thread: only this zone scrolls; entries stack vertically
|
||||
with generous spacing. The latest user post is anchored to the top of the
|
||||
visible area on send (scrollIntoView block:start + scroll-margin). */
|
||||
visible area on send: the post is anchored flush at the top (block:start,
|
||||
and the bottom padding is grown so a short answer can still roll the post
|
||||
all the way up). */
|
||||
.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; }
|
||||
flex-direction: column; gap: 24px; overflow-anchor: none; }
|
||||
.bookslm-msg { display: flex; flex-direction: column; gap: 4px; }
|
||||
/* 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. */
|
||||
|
||||
Reference in New Issue
Block a user