mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix: keep agent composer floating without early scroll
This commit is contained in:
@@ -1413,6 +1413,9 @@ onScopeDispose(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.agent-assistant-messages {
|
.agent-assistant-messages {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-block-size: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
padding-block: 1rem calc(env(safe-area-inset-bottom, 0px) + 12rem);
|
padding-block: 1rem calc(env(safe-area-inset-bottom, 0px) + 12rem);
|
||||||
@@ -1422,11 +1425,13 @@ onScopeDispose(() => {
|
|||||||
|
|
||||||
.agent-assistant-empty {
|
.agent-assistant-empty {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex: 1 1 auto;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
box-sizing: border-box;
|
||||||
color: rgba(var(--v-theme-on-surface), 0.7);
|
color: rgba(var(--v-theme-on-surface), 0.7);
|
||||||
min-block-size: 100%;
|
min-block-size: 0;
|
||||||
padding-block: 2rem 1.25rem;
|
padding-block: 2rem 1.25rem;
|
||||||
padding-inline: 0.25rem;
|
padding-inline: 0.25rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -1463,6 +1468,7 @@ onScopeDispose(() => {
|
|||||||
|
|
||||||
.agent-assistant-message {
|
.agent-assistant-message {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex: 0 0 auto;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-block-end: 1rem;
|
margin-block-end: 1rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user